From 91c6faff7165955cd0d59222e5fde127e1f270d9 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Mon, 12 Aug 2024 17:20:02 +0200 Subject: [PATCH] docs: make command group options subsections of main options --- cmd/gendocs/gendocs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gendocs/gendocs.go b/cmd/gendocs/gendocs.go index 028ac3ea3..f9bc6b1f6 100644 --- a/cmd/gendocs/gendocs.go +++ b/cmd/gendocs/gendocs.go @@ -193,7 +193,7 @@ rclone.org website.`, groups := flags.All.Include(groupsString) for _, group := range groups.Groups { if group.Flags.HasFlags() { - _, _ = fmt.Fprintf(&out, "\n### %s Options\n\n", group.Name) + _, _ = fmt.Fprintf(&out, "\n#### %s Options\n\n", group.Name) _, _ = fmt.Fprintf(&out, "%s\n\n", group.Help) _, _ = fmt.Fprintln(&out, "```") _, _ = out.WriteString(group.Flags.FlagUsages())