aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-27 17:11:55 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-27 17:11:55 -0500
commit7c653f8892e5741f89324bc72457a3eb44881f9b (patch)
treee2d2b5c8f1c61bb8258dd55f7e6fa53232762bbf /main.go
parentRelease v0.1.0 (diff)
downloadssg-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.go2
1 files changed, 0 insertions, 2 deletions
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())))
}