summaryrefslogtreecommitdiff
path: root/theMagicOfAutocomplete.go
diff options
context:
space:
mode:
Diffstat (limited to 'theMagicOfAutocomplete.go')
-rw-r--r--theMagicOfAutocomplete.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go
index 3931f45..29008bf 100644
--- a/theMagicOfAutocomplete.go
+++ b/theMagicOfAutocomplete.go
@@ -105,8 +105,8 @@ func prepareStdout() {
me.pb.PrintDebug(me.last.GetCmd())
}
- if strings.HasPrefix(me.pb.Partial, "--argv") {
- me.pb.SendString("--argvdebug --argvhelp")
+ if strings.HasPrefix(me.pb.Partial, "'--argv") {
+ fmt.Fprintf(Stdout, " --argvdebug --argvhelp")
me.pb.Stderr += fmt.Sprintln("argv override")
me.debug = true
return