mirror of
https://gitea.com/gitea/tea.git
synced 2026-09-10 07:26:33 -04:00
Fix man page section (#969)
Co-authored-by: Wesley Moore <wes@wezm.net> Co-committed-by: Wesley Moore <wes@wezm.net>
This commit is contained in:
parent
b100d4c939
commit
dd81b33cec
|
|
@ -29,7 +29,9 @@ var CmdGenerateManPage = cli.Command{
|
|||
Hidden: true,
|
||||
Flags: DocRenderFlags,
|
||||
Action: func(ctx context.Context, cmd *cli.Command) error {
|
||||
return RenderDocs(cmd, cmd.Root(), docs.ToMan)
|
||||
return RenderDocs(cmd, cmd.Root(), func(cmd *cli.Command) (string, error) {
|
||||
return docs.ToManWithSection(cmd, 1)
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue