File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,18 +13,25 @@ stackit security-group list [flags]
1313### Examples
1414
1515```
16- List all groups
16+ Lists all security groups
1717 $ stackit security-group list
1818
19- List groups with labels
19+ Lists security groups with labels
2020 $ stackit security-group list --label-selector label1=value1,label2=value2
21+
22+ Lists all security groups in JSON format
23+ $ stackit security-group list --output-format json
24+
25+ Lists up to 10 security groups
26+ $ stackit security-group list --limit 10
2127```
2228
2329### Options
2430
2531```
2632 -h, --help Help for "stackit security-group list"
2733 --label-selector string Filter by label
34+ --limit int Maximum number of entries to list
2835```
2936
3037### Options inherited from parent commands
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
6464 if err != nil {
6565 return fmt .Errorf ("list quotas: %w" , err )
6666 }
67-
67+ response . Quotas = nil
6868 if items := response .Quotas ; items == nil {
6969 params .Printer .Info ("No quotas found for project %q" , projectLabel )
7070 } else {
You can’t perform that action at this time.
0 commit comments