1
0
mirror of https://github.com/rclone/rclone.git synced 2025-11-29 05:47:23 +02:00

docs: fix markdownlint issues in backend command generated output

This commit is contained in:
albertony
2025-11-02 12:49:10 +01:00
parent 0f3aa17fb6
commit 2443cb284e
2 changed files with 8 additions and 6 deletions

View File

@@ -343,12 +343,12 @@ func showBackend(name string) {
fmt.Printf("- Examples:\n")
}
for _, ex := range opt.Examples {
fmt.Printf(" - %s\n", quoteString(ex.Value))
fmt.Printf(" - %s\n", quoteString(ex.Value))
for line := range strings.SplitSeq(ex.Help, "\n") {
fmt.Printf(" - %s\n", line)
fmt.Printf(" - %s\n", line)
}
if ex.Provider != "" {
fmt.Printf(" - Provider: %s\n", ex.Provider)
fmt.Printf(" - Provider: %s\n", ex.Provider)
}
}
}