Skip to content

Commit 68ce9f1

Browse files
authored
cscli help typos (#3707)
1 parent 3f33cad commit 68ce9f1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cmd/crowdsec-cli/clialert/alerts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func (cli *cliAlerts) newDeleteCmd() *cobra.Command {
386386
cmd := &cobra.Command{
387387
Use: "delete [filters] [--all]",
388388
Short: `Delete alerts
389-
/!\ This command can be use only on the same machine than the local API.`,
389+
/!\ This command can be used only on the same machine than the local API.`,
390390
Example: `cscli alerts delete --ip 1.2.3.4
391391
cscli alerts delete --range 1.2.3.0/24
392392
cscli alerts delete -s crowdsecurity/ssh-bf"`,

cmd/crowdsec-cli/cliconsole/console.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@ Enroll this instance to https://app.crowdsec.net
189189
You can get your enrollment key by creating an account on https://app.crowdsec.net.
190190
After running this command your will need to validate the enrollment in the webapp.`,
191191
Example: fmt.Sprintf(`cscli console enroll YOUR-ENROLL-KEY
192-
cscli console enroll --name [instance_name] YOUR-ENROLL-KEY
193-
cscli console enroll --name [instance_name] --tags [tag_1] --tags [tag_2] YOUR-ENROLL-KEY
194-
cscli console enroll --enable console_management YOUR-ENROLL-KEY
195-
cscli console enroll --disable context YOUR-ENROLL-KEY
192+
cscli console enroll --name [instance_name] YOUR-ENROLL-KEY
193+
cscli console enroll --name [instance_name] --tags [tag_1] --tags [tag_2] YOUR-ENROLL-KEY
194+
cscli console enroll --enable console_management YOUR-ENROLL-KEY
195+
cscli console enroll --disable context YOUR-ENROLL-KEY
196196
197-
valid options are : %s,all (see 'cscli console status' for details)`, strings.Join(csconfig.CONSOLE_CONFIGS, ",")),
197+
valid options are : %s,all (see 'cscli console status' for details)`, strings.Join(csconfig.CONSOLE_CONFIGS, ",")),
198198
Args: args.ExactArgs(1),
199199
DisableAutoGenTag: true,
200200
RunE: func(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)