From 85bde1cc6969e7db0aaab0851f6051350b30409f Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 2 Jan 2026 13:56:47 -0500 Subject: Rewrite man pages in mdoc(7) format instead of older man(7) format --- init.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'init.go') 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 { -- cgit v1.2.3