summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 9d47309..04e011d 100644
--- a/structs.go
+++ b/structs.go
@@ -32,6 +32,7 @@ type AutoArgs struct {
buildtime func() (string, string) // some examples
pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
autoFunc func(*Auto) // also a function for autocomplete
+ err error // store any errors from argv
}
// returns the last command (is blank if the current arg is not blank)