Skip to content

Commit

Permalink
fix: spelling mistake in scan.go (#4015)
Browse files Browse the repository at this point in the history
  • Loading branch information
Homopatrol authored Aug 13, 2021
1 parent 1dda0fc commit c068fe0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Flags:
can be provided multiple times or as a comma separated string
example: 'fec62a97d569662093dbb9739360942f...,31263s5696620s93dbb973d9360942fc2a...'
--fail-on strings which kind of results should return an exit code different from 0
accetps: high, medium, low and info
accepts: high, medium, low and info
example: "high,low" (default [high,medium,low,info])
-h, --help help for scan
--ignore-on-exit string defines which kind of non-zero exits code should be ignored
Expand Down
2 changes: 1 addition & 1 deletion e2e/fixtures/assets/scan_help
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Flags:
can be provided multiple times or as a comma separated string
example: 'fec62a97d569662093dbb9739360942f...,31263s5696620s93dbb973d9360942fc2a...'
--fail-on strings which kind of results should return an exit code different from 0
accetps: high, medium, low and info
accepts: high, medium, low and info
example: "high,low" (default [high,medium,low,info])
-h, --help help for scan
--ignore-on-exit string defines which kind of non-zero exits code should be ignored
Expand Down
2 changes: 1 addition & 1 deletion internal/console/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func initExitStatusFlags(scanCmd *cobra.Command) {
failOnFlag,
[]string{"high", "medium", "low", "info"},
"which kind of results should return an exit code different from 0\n"+
"accetps: high, medium, low and info\n"+
"accepts: high, medium, low and info\n"+
"example: \"high,low\"",
)
scanCmd.Flags().StringVar(&ignoreOnExit,
Expand Down

0 comments on commit c068fe0

Please sign in to comment.