summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-12 06:51:14 -0500
committerJeff Carr <[email protected]>2025-10-12 06:51:14 -0500
commit249481dc4bcc50782b094138b1999575c38b6a34 (patch)
tree432b50ad760ac5f4fe391c914991ef77b1941aa5 /structs.go
parenta2c9d4fed68598ebab7a174d51a44af43a7ff768 (diff)
more house cleaning. starting to look better
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)