Skip to content

Commit

Permalink
Merge branch 'main' into fix/elchanan/fix/remove-not-supported-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
elchananarb authored Feb 6, 2025
2 parents 659e7dd + 5f94c8c commit be7a3e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/commands/predicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func NewResultsPredicatesCommand(resultsPredicatesWrapper wrappers.ResultsPredic
func triageGetStatesSubCommand(customStatesWrapper wrappers.CustomStatesWrapper) *cobra.Command {
triageGetStatesCmd := &cobra.Command{
Use: "get-states",
Short: "Fetch and display custom states.",
Long: "Retrieves a list of custom states and prints their names.",
Short: "Show the custom states that have been configured in your tenant",
Long: "The get-states command shows information about each of the custom states that have been configured in your tenant account",
Example: heredoc.Doc(
`
$ cx triage get-states
Expand All @@ -46,7 +46,7 @@ func triageGetStatesSubCommand(customStatesWrapper wrappers.CustomStatesWrapper)
RunE: runTriageGetStates(customStatesWrapper),
}

triageGetStatesCmd.PersistentFlags().Bool(params.AllStatesFlag, false, "Include deleted states")
triageGetStatesCmd.PersistentFlags().Bool(params.AllStatesFlag, false, "Show all custom states, including the ones that have been deleted")

return triageGetStatesCmd
}
Expand Down

0 comments on commit be7a3e5

Please sign in to comment.