From 898782ac35953ec9b6576064bd469a1834fe453e Mon Sep 17 00:00:00 2001 From: buengese Date: Thu, 15 Aug 2019 10:54:50 +0200 Subject: [PATCH] help/showBackend: fixed advanced option category when there are no standard options --- cmd/help.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/help.go b/cmd/help.go index 04e42d640..865cc3ae8 100644 --- a/cmd/help.go +++ b/cmd/help.go @@ -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))