Skip to content

Commit 968373b

Browse files
committed
Duplicate SSL flag group shows them twice
The flags group is created in two places for the `mgradm install podman` command. Removing it once to avoid showing the flags twice in the help.
1 parent 69ce72e commit 968373b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

mgradm/cmd/install/shared/flags.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ func AddInstallFlags(cmd *cobra.Command) {
2727
cmd.Flags().String("ssl-server-cert", "", L("Server certificate path"))
2828
cmd.Flags().String("ssl-server-key", "", L("Server key path"))
2929

30-
_ = utils.AddFlagHelpGroup(cmd, &utils.Group{ID: "ssl3rd", Title: L("3rd Party SSL Certificate Flags")})
3130
_ = utils.AddFlagToHelpGroupID(cmd, "ssl-ca-intermediate", "ssl3rd")
3231
_ = utils.AddFlagToHelpGroupID(cmd, "ssl-ca-root", "ssl3rd")
3332
_ = utils.AddFlagToHelpGroupID(cmd, "ssl-server-cert", "ssl3rd")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Remove duplicate parameters in mgradm install podman --help

0 commit comments

Comments
 (0)