diff options
Diffstat (limited to 'argv.parseOsArgs.go')
| -rw-r--r-- | argv.parseOsArgs.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/argv.parseOsArgs.go b/argv.parseOsArgs.go index 002630a..654ab0a 100644 --- a/argv.parseOsArgs.go +++ b/argv.parseOsArgs.go @@ -86,6 +86,10 @@ func (pb *Argv) parseOsArgs() { if os.Args[1] != "--auto-complete" { // if the first arg is not --auto-complete, then don't go any farther for _, s := range os.Args[1:] { + if s == "--argvdebug" { + me.debug = true + continue + } pb.Real = append(pb.Real, s) } // found the subcommand |
