aboutsummaryrefslogtreecommitdiffstats
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.go b/init.go
index 46b2fc9..9d682f6 100644
--- a/init.go
+++ b/init.go
@@ -15,7 +15,9 @@ type initCmd struct{}
func (c *initCmd) Name() string { return "init" }
func (c *initCmd) Synopsis() string { return "initialize a new site" }
func (c *initCmd) Usage() string {
- return "init [directory]\n\nSee ssg-init(1) for details.\n"
+ return `ssg init [-h | --help] [directory]: Initialize a new site with the standard directory structure.
+
+See ssg-init(1) for details.`
}
func (c *initCmd) SetFlags(f *flag.FlagSet) {}
func (c *initCmd) Execute(ctx context.Context, f *flag.FlagSet, args ...any) subcmd.ExitStatus {