From a57f851992e9f6efa5dc11e5c38c997bc9f43212 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 10 Apr 2026 09:52:42 +0300 Subject: cli: document -version and --version in flag help Made-with: Cursor --- cmd/snonux/main.go | 4 ++-- 1 file 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") -- cgit v1.2.3