docs: add defaults to --help

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2024-04-25 13:15:46 -05:00
parent a0ec64e6b2
commit 4bf09ea6cd
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ func maine() error {
}
return nil
}
fs.Func("format", "Output format", formatFunc)
fs.Func("format", "Output format [json, yaml, toml]: default 'json'", formatFunc)
fs.Func("f", "--format", formatFunc)
if err := fs.Parse(os.Args[1:]); err != nil {
return err