diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 11:27:17 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 11:27:17 -0500 |
| commit | 4ddd5e7bda276d60c1ce57297dc73ef653ed2686 (patch) | |
| tree | 30ac9ba8cf0a0fb71d1a3e32307e03fc7d7e911b /argv.go | |
| parent | bb99305225210181525b1482888a7bfddd9ff68e (diff) | |
new --versionv0.0.85
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -71,11 +71,15 @@ func (args) Appname() string { return ARGNAME } +func (args) Buildtime() (string, string) { + return BUILDTIME, VERSION +} + func (a args) DoAutoComplete(pb *prep.Auto) { if pb.Cmd == "" { - pb.Autocomplete3([]string{"gui", "list", "--daemon"}) + pb.Autocomplete3([]string{"gui", "list", "--daemon", "--version"}) } else { - pb.SubCommand(pb.Argv...) + pb.SubCommand(pb.Goargs...) } os.Exit(0) } |
