Skip to content

Commit

Permalink
🐛 fix help messages inside tests
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Dec 4, 2024
1 parent 19b5368 commit 8527f5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/cli/testdata/cnspec_scan.ct
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ To manually configure a policy, use this:
$ cnspec scan local -f bundle.mql.yaml --incognito

Usage:
cnspec scan [flags]
cnspec scan [command]

Available Commands:
Expand Down
3 changes: 2 additions & 1 deletion test/cli/testdata/cnspec_vuln.ct
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $ cnspec vuln --help
Scans a target for vulnerabilities

Usage:
cnspec vuln [flags]
cnspec vuln [command]

Available Commands:
Expand All @@ -25,4 +26,4 @@ Global Flags:
--log-level string Set log level: error, warn, info, debug, trace (default "info")
-v, --verbose Enable verbose output

Use "cnspec vuln [command] --help" for more information about a command.
Use "cnspec vuln [command] --help" for more information about a command.
Binary file added test/serve/cnspec
Binary file not shown.

0 comments on commit 8527f5b

Please sign in to comment.