Skip to content

Commit

Permalink
Fix duplicate teleport-update short command (#50304)
Browse files Browse the repository at this point in the history
  • Loading branch information
vapopov authored Dec 16, 2024
1 parent 278dfc8 commit 1bf9cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/teleport-update/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func Run(args []string) int {
app.Flag("log-format", "Controls the format of output logs. Can be `json` or `text`. Defaults to `text`.").
Default(libutils.LogFormatText).EnumVar(&ccfg.LogFormat, libutils.LogFormatJSON, libutils.LogFormatText)
app.Flag("install-suffix", "Suffix for creating an agent installation outside of the default $PATH. Note: this changes the default data directory.").
Short('n').StringVar(&ccfg.InstallSuffix)
Short('i').StringVar(&ccfg.InstallSuffix)
app.Flag("link-dir", "Directory to link the active Teleport installation's binaries into.").
Default(autoupdate.DefaultLinkDir).IsSetByUser(&userLinkDir).Hidden().StringVar(&ccfg.LinkDir)

Expand Down

0 comments on commit 1bf9cd5

Please sign in to comment.