help/showBackend: fixed advanced option category when there are no standard options

This commit is contained in:
buengese 2019-08-15 10:54:50 +02:00 committed by buengese
parent 4e43fa746a
commit 898782ac35

View File

@ -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))