summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--argv.custom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go
index 569f516..de54dd6 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -33,7 +33,7 @@ func (args) ArgvGui() error {
// sends the strings to bash or zsh that will be your options
func (a args) SendCompletionStrings(pb *argvpb.Argv) {
- if pb.Cmd == "" {
+ if pb.GetCmd() == "" {
base := []string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version", "--auto-run", "--keep-gomod"}
pb.SendStrings(base)
} else {