Skip to content

Commit 8a18c93

Browse files
author
kaanyalti
committed
feature(4890): removed the shorthand flag for the force flag
1 parent 142ec4c commit 8a18c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/agent/cmd/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func newUpgradeCommandWithArgs(_ []string, streams *cli.IOStreams) *cobra.Comman
5757
cmd.Flags().String(flagPGPBytes, "", "PGP to use for package verification")
5858
cmd.Flags().String(flagPGPBytesURI, "", "Path to a web location containing PGP to use for package verification")
5959
cmd.Flags().String(flagPGPBytesPath, "", "Path to a file containing PGP to use for package verification")
60-
cmd.Flags().BoolP(flagForce, "f", false, "Advanced option to force an upgrade on a fleet managed agent")
60+
cmd.Flags().BoolP(flagForce, "", false, "Advanced option to force an upgrade on a fleet managed agent")
6161
err := cmd.Flags().MarkHidden(flagForce)
6262
if err != nil {
6363
log.Fatal(err)

0 commit comments

Comments
 (0)