ggshield
ggshield copied to clipboard
`scan` options should be allowed later in the command
GitGuardian Shield Version
- I can reproduce this bug in the latest version
Command executed
ggshield scan path -v foo
Describe the bug
When the command is executed, ggshield complains like this:
Usage: ggshield scan path [OPTIONS] PATHS...
Try 'ggshield scan path -h' for help.
Error: No such option: -v
It will only work if one does: ggshield scan -v path foo
.
Expected behavior
It should be possible to use any ggshield scan
options (see ggshield scan --help
) after a scan
sub-command.