Skip to content

Commit 5f94c8c

Browse files
authored
Merge pull request #1037 from Checkmarx/other/Change-description-of-custom-states-help
Change descreiption of custom states help guide (AST-80216)
2 parents d1f2e09 + bddd4d8 commit 5f94c8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/commands/predicates.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func NewResultsPredicatesCommand(resultsPredicatesWrapper wrappers.ResultsPredic
3535
func triageGetStatesSubCommand(customStatesWrapper wrappers.CustomStatesWrapper) *cobra.Command {
3636
triageGetStatesCmd := &cobra.Command{
3737
Use: "get-states",
38-
Short: "Fetch and display custom states.",
39-
Long: "Retrieves a list of custom states and prints their names.",
38+
Short: "Show the custom states that have been configured in your tenant",
39+
Long: "The get-states command shows information about each of the custom states that have been configured in your tenant account",
4040
Example: heredoc.Doc(
4141
`
4242
$ cx triage get-states
@@ -46,7 +46,7 @@ func triageGetStatesSubCommand(customStatesWrapper wrappers.CustomStatesWrapper)
4646
RunE: runTriageGetStates(customStatesWrapper),
4747
}
4848

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

5151
return triageGetStatesCmd
5252
}

0 commit comments

Comments
 (0)