From f0cee89211f4bb5eb4b3ba78b8c9509b598c64f5 Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Wed, 13 Oct 2021 18:39:19 +0200 Subject: [PATCH] update example --- cmd/crowdsec-cli/console.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/crowdsec-cli/console.go b/cmd/crowdsec-cli/console.go index 87c86ab5e..93633affa 100644 --- a/cmd/crowdsec-cli/console.go +++ b/cmd/crowdsec-cli/console.go @@ -93,7 +93,10 @@ Enroll this instance to https://app.crowdsec.net You can get your enrollment key by creating an account on https://app.crowdsec.net. After running this command your will need to validate the enrollment in the webapp.`, - Example: "cscli console enroll YOUR-ENROLL-KEY", + Example: `cscli console enroll YOUR-ENROLL-KEY +cscli console enroll --name [instance_name] YOUR-ENROLL-KEY +cscli console enroll --name [instance_name] --tags [tag_1] --tags [tag_2] YOUR-ENROLL-KEY +`, Args: cobra.ExactArgs(1), DisableAutoGenTag: true, Run: func(cmd *cobra.Command, args []string) {