diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-01-02 13:56:47 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-01-02 13:56:47 -0500 |
| commit | 85bde1cc6969e7db0aaab0851f6051350b30409f (patch) | |
| tree | d1a6f0d196397bd06b9c603b4fe0d2bbdd665c18 /init.go | |
| parent | Fix man page headings and use YYYY-MM-DD for dates (diff) | |
| download | ssg-85bde1cc6969e7db0aaab0851f6051350b30409f.zip | |
Rewrite man pages in mdoc(7) format instead of older man(7) format
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 { |