Skip to content

Commit

Permalink
Merge pull request #2068 from rsteube/gum-updates-0.13.0
Browse files Browse the repository at this point in the history
gum: updates from v0.13.0
  • Loading branch information
rsteube authored Dec 12, 2023
2 parents b0703eb + 946d28e commit c2c9edb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions completers/gum_completer/cmd/choose.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func init() {
chooseCmd.Flags().String("limit", "", "Maximum number of options to pick")
chooseCmd.Flags().Bool("no-limit", false, "Pick unlimited number of options (ignores limit)")
chooseCmd.Flags().Bool("ordered", false, "Maintain the order of the selected options")
chooseCmd.Flags().Bool("select-if-one", false, "Select the given option if there is only one")
chooseCmd.Flags().StringSlice("selected", []string{}, "Options that should start as selected")
chooseCmd.Flags().String("selected-prefix", "", "Prefix to show on selected items (hidden if limit is 1)")
chooseCmd.Flags().String("selected.align", "", "Text Alignment")
Expand Down
1 change: 1 addition & 0 deletions completers/gum_completer/cmd/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func init() {
filterCmd.Flags().Bool("prompt.underline", false, "Underline text")
filterCmd.Flags().String("prompt.width", "", "Text width")
filterCmd.Flags().Bool("reverse", false, "Display from the bottom of the screen")
filterCmd.Flags().Bool("select-if-one", false, "Select the given option if there is only one")
filterCmd.Flags().String("selected-indicator.align", "", "Text Alignment")
filterCmd.Flags().String("selected-indicator.background", "", "Background Color")
filterCmd.Flags().Bool("selected-indicator.bold", false, "Bold text")
Expand Down

0 comments on commit c2c9edb

Please sign in to comment.