diff --git a/internal/cmd/firewall/add_rule.go b/internal/cmd/firewall/add_rule.go index 54d1ec12..6a57e55e 100644 --- a/internal/cmd/firewall/add_rule.go +++ b/internal/cmd/firewall/add_rule.go @@ -16,7 +16,7 @@ import ( var AddRuleCmd = base.Cmd{ BaseCobraCommand: func(client hcapi2.Client) *cobra.Command { cmd := &cobra.Command{ - Use: "add-rule [options] (--direction in --source-ips | --direction out --destination-ips ) --protocol ", + Use: "add-rule [options] (--direction in --source-ips | --direction out --destination-ips ) (--protocol --port | --protocol ) ", Short: "Add a single rule to a firewall", ValidArgsFunction: cmpl.SuggestArgs(cmpl.SuggestCandidatesF(client.Firewall().Names)), TraverseChildren: true, diff --git a/internal/cmd/firewall/delete_rule.go b/internal/cmd/firewall/delete_rule.go index fd98dc20..87eb2d62 100644 --- a/internal/cmd/firewall/delete_rule.go +++ b/internal/cmd/firewall/delete_rule.go @@ -17,7 +17,7 @@ import ( var DeleteRuleCmd = base.Cmd{ BaseCobraCommand: func(client hcapi2.Client) *cobra.Command { cmd := &cobra.Command{ - Use: "delete-rule [options] (--direction in --source-ips | --direction out --destination-ips ) --protocol ", + Use: "delete-rule [options] (--direction in --source-ips | --direction out --destination-ips ) (--protocol --port | --protocol ) ", Short: "Delete a single rule to a firewall", ValidArgsFunction: cmpl.SuggestArgs(cmpl.SuggestCandidatesF(client.Firewall().Names)), TraverseChildren: true,