From 7c653f8892e5741f89324bc72457a3eb44881f9b Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 27 Dec 2025 17:11:55 -0500 Subject: Fix top-level -h output with ssg -h There was a bug in subcmd that upgrading to v0.5.0 fixes where using -h on the top-level command would result in a mostly empty help page. --- main.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 8b83f62..c5792dc 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,6 @@ package main import ( "context" - "flag" "fmt" "os" @@ -16,7 +15,6 @@ func main() { subcmd.Register(&initCmd{}, "") subcmd.Register(&versionCmd{}, "") subcmd.Register(subcmd.ManHelpCommand("ssg"), "") - flag.Parse() os.Exit(int(subcmd.Execute(context.Background()))) } -- cgit v1.2.3