summaryrefslogtreecommitdiff
path: root/argv.custom.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 11:45:03 -0500
committerJeff Carr <[email protected]>2025-10-24 11:45:03 -0500
commitcd341e123d428ab26e92c32fa6eed96ba7a4c15e (patch)
tree9b97acbc6e42f0625039a0c85897d4ffc6998a25 /argv.custom.go
parent98f656afbc699e2c3f6cf47cdb88af31b46134a8 (diff)
new argv.protov0.7.113
Diffstat (limited to 'argv.custom.go')
-rw-r--r--argv.custom.go2
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...)