diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-27 17:11:55 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-27 17:11:55 -0500 |
| commit | 7c653f8892e5741f89324bc72457a3eb44881f9b (patch) | |
| tree | e2d2b5c8f1c61bb8258dd55f7e6fa53232762bbf /main.go | |
| parent | Release v0.1.0 (diff) | |
| download | ssg-7c653f8892e5741f89324bc72457a3eb44881f9b.zip | |
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.
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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()))) } |