diff options
| author | Jeff Carr <[email protected]> | 2025-10-24 11:45:03 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-24 11:45:03 -0500 |
| commit | cd341e123d428ab26e92c32fa6eed96ba7a4c15e (patch) | |
| tree | 9b97acbc6e42f0625039a0c85897d4ffc6998a25 | |
| parent | 98f656afbc699e2c3f6cf47cdb88af31b46134a8 (diff) | |
new argv.protov0.7.113
| -rw-r--r-- | argv.custom.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go index 75d4327..ce58303 100644 --- a/argv.custom.go +++ b/argv.custom.go @@ -36,7 +36,7 @@ func (args) Appname() string { func (a args) DoAutoComplete(pb *argvpb.Argv) { // fmt.Fprintf(os.Stderr, "blah\n") // fmt.Fprintf(os.Stderr, "\n") - if pb.Cmd == "" { + if pb.GetCmd() == "" { pb.SendStrings([]string{"--dry-run", "--non-recursive", "--work", "--version"}) } else { pb.SubCommand(pb.Goargs...) |
