fix opencloud version flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
committed by
Florian Schade
parent
eebccf7c78
commit
8564fa4536
@@ -31,7 +31,8 @@ func VersionCommand(cfg *config.Config) *cobra.Command {
|
|||||||
fmt.Printf("Edition: %s\n", version.Edition)
|
fmt.Printf("Edition: %s\n", version.Edition)
|
||||||
fmt.Printf("Compiled: %s\n", version.Compiled())
|
fmt.Printf("Compiled: %s\n", version.Compiled())
|
||||||
|
|
||||||
if cmd.Flag(_skipServiceListingFlagName).Changed {
|
skipServiceListing, _ := cmd.Flags().GetBool(_skipServiceListingFlagName)
|
||||||
|
if skipServiceListing {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user