diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-10 09:52:42 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-10 09:52:42 +0300 |
| commit | a57f851992e9f6efa5dc11e5c38c997bc9f43212 (patch) | |
| tree | db0faec83a52e342aa0aa0b5dc8fbfad4c89e5a6 | |
| parent | 4a3a19fcb7b05d77f63bff0c2038d326d2fc1497 (diff) | |
cli: document -version and --version in flag helpv0.0.1
Made-with: Cursor
| -rw-r--r-- | cmd/snonux/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/snonux/main.go b/cmd/snonux/main.go index a908ca3..6b6d0bb 100644 --- a/cmd/snonux/main.go +++ b/cmd/snonux/main.go @@ -38,8 +38,8 @@ func main() { func parseFlags() (*config.Config, error) { cfg := &config.Config{} var showVersion bool - flag.BoolVar(&showVersion, "version", false, "print version and exit") - flag.BoolVar(&showVersion, "v", false, "print version and exit") + flag.BoolVar(&showVersion, "version", false, "print version and exit (-version, --version)") + flag.BoolVar(&showVersion, "v", false, "print version and exit (shorthand for -version)") listThemes := flag.Bool("list-themes", false, "print all available theme names and exit") flag.StringVar(&cfg.InputDir, "input", "./inbox", "directory containing new source files to process") |
