diff options
Diffstat (limited to 'argv.custom.go')
| -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 8bfb547..2cd2b2c 100644 --- a/argv.custom.go +++ b/argv.custom.go @@ -18,7 +18,7 @@ var APPNAME string = "fixup" // todo: get this from $0 ? // 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{"drives", "gui", "--version"} pb.SendStrings(base) } else { |
