summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 4da88d5..50936c0 100644
--- a/argv.go
+++ b/argv.go
@@ -19,6 +19,7 @@ type args struct {
Save *EmptyCmd `arg:"subcommand:save" help:"save current window geometries to the your config file"`
DumpX *EmptyCmd `arg:"subcommand:dumpx" help:"show your current window geometries"`
Dump *EmptyCmd `arg:"subcommand:dump" help:"show your current window geometries"`
+ List *EmptyCmd `arg:"subcommand:list" help:"list entries in your config file"`
Force bool `arg:"--force" help:"try to strong arm things"`
Verbose bool `arg:"--verbose" help:"show more output"`
Bash bool `arg:"--bash" help:"generate bash completion"`
@@ -48,7 +49,7 @@ func (a args) DoAutoComplete(argv []string) {
default:
if argv[0] == ARGNAME {
// list the subcommands here
- fmt.Println("--restore save dump dumpx")
+ fmt.Println("--restore save dump dumpx list")
}
}
os.Exit(0)