summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-18 06:37:00 -0500
committerJeff Carr <[email protected]>2025-10-18 06:37:00 -0500
commitb2c353f48082a1d581bee0b6ee71c93f58bff603 (patch)
tree1a77d472dda8d720b13e15f4ca39d8645396d5f3 /structs.go
parent8d1a704d6f41b5f08aabc276d1476266f51c5b63 (diff)
pass the flags to the go-arg parser
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index ab7faa5..4ec64cb 100644
--- a/structs.go
+++ b/structs.go
@@ -10,8 +10,8 @@ type AutoArgs struct {
Argv func([]string) // the function for shell autocomplete
initArgv func() (string, string, string) // this is required. gets APPNAME, BUILDTIME & VERSION
initGuiFunc func() error // this is required for 'gui' args to work
- mustParseFunc func() error // notsure yet
- parseFlags func([]string) error // notsure yet
+ mustParseFunc func() error // calls go-arg.MustParse()
+ parseFlagsFunc func([]string) error // notsure yet
writeHelp func() // notsure yet
writeHelpForSubcommand func(string) // notsure yet
writeHelpForAutocomplete func() // notsure yet