Skip to content

Commit 80f8ed0

Browse files
Copilotpelikhan
andauthored
logs: address review feedback - cleaner hint message and ascii comment
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 9ba0d5a commit 80f8ed0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cli/logs_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Downloaded artifacts include (when using --artifacts all):
8989
` + string(constants.CLIExtensionPrefix) + ` logs --before-run-id 2000 # Filter runs before run ID 2000
9090
` + string(constants.CLIExtensionPrefix) + ` logs --after-run-id 1000 --before-run-id 2000 # Filter runs in range
9191
92-
# Artifact selection (default: usage only the compact conclusion artifact)
92+
# Artifact selection (default: usage only - the compact conclusion artifact)
9393
` + string(constants.CLIExtensionPrefix) + ` logs --artifacts all # Download all artifacts (agent logs, firewall, etc.)
9494
` + string(constants.CLIExtensionPrefix) + ` logs --artifacts agent # Download only agent logs
9595
` + string(constants.CLIExtensionPrefix) + ` logs --artifacts agent,firewall # Download agent and firewall artifacts

pkg/cli/logs_orchestrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ func renderLogsOutput(processedRuns []ProcessedRun, opts renderLogsOutputOptions
674674
// When only the usage artifact was downloaded, add a hint so consumers know how
675675
// to fetch additional artifact sets (agent logs, firewall data, etc.).
676676
if isUsageOnlyArtifactFilter(opts.artifactFilter) {
677-
logsData.Message = "Only the usage artifact was downloaded. Use --artifacts all to download all artifacts, or --artifacts <set> for specific sets (e.g. --artifacts agent,firewall)."
677+
logsData.Message = "Only the usage artifact was downloaded. Use --artifacts all to download all artifacts, or a specific set such as --artifacts agent or --artifacts agent,firewall."
678678
}
679679

680680
// Write summary file if requested (default behavior unless disabled with empty string)

0 commit comments

Comments
 (0)