mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 14:22:04 +08:00
help/showBackend: fixed advanced option category when there are no standard options
This commit is contained in:
parent
4e43fa746a
commit
898782ac35
|
@ -300,6 +300,7 @@ func showBackend(name string) {
|
|||
optionsType := "standard"
|
||||
for _, opts := range []fs.Options{standardOptions, advancedOptions} {
|
||||
if len(opts) == 0 {
|
||||
optionsType = "advanced"
|
||||
continue
|
||||
}
|
||||
fmt.Printf("### %s Options\n\n", strings.Title(optionsType))
|
||||
|
|
Loading…
Reference in New Issue
Block a user