From 5a29170a259a9aea7521e8da092cca8cf0232aeb Mon Sep 17 00:00:00 2001 From: Jorge Martinez Date: Thu, 1 Oct 2026 08:19:41 +0800 Subject: [PATCH] Fix help flag definition in CLI to use aliases correctly --- cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.go b/cli/main.go index c225a51..0c1e645 100644 --- a/cli/main.go +++ b/cli/main.go @@ -436,7 +436,7 @@ func main() { &cli.IntFlag{Name: "timeout", Aliases: []string{"t"}, Usage: "HTTP request timeout in seconds for the auth server", Value: 2}, &cli.BoolFlag{Name: "daemonize", Aliases: []string{"D"}, Usage: "run without reading username/password from standard input; less log"}, &cli.BoolFlag{Name: "debug", Usage: "print debug messages"}, - &cli.BoolFlag{Name: "help, h", Usage: "print the help"}, + &cli.BoolFlag{Name: "help", Aliases: []string{"h"}, Usage: "print the help"}, }, Commands: []*cli.Command{ {