From 8913a0b1e4785a7e12de79ce92d4d06280db6a8f Mon Sep 17 00:00:00 2001 From: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com> Date: Thu, 4 Jan 2024 12:53:39 +0000 Subject: [PATCH] Use create-context not create (#297) --- cmd/grr/config.go | 2 +- docs/content/authentication.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/grr/config.go b/cmd/grr/config.go index 60ca4a91..a1a9cf24 100644 --- a/cmd/grr/config.go +++ b/cmd/grr/config.go @@ -85,7 +85,7 @@ func setCmd() *cli.Command { func createContextCmd() *cli.Command { cmd := &cli.Command{ - Use: "create context", + Use: "create-context", Short: "Create a configuration context", Args: cli.ArgsExact(1), } diff --git a/docs/content/authentication.md b/docs/content/authentication.md index 383a6354..265144ed 100644 --- a/docs/content/authentication.md +++ b/docs/content/authentication.md @@ -72,7 +72,7 @@ grr config import Create a new context with: ```sh -grr config create production +grr config create-context production ``` To list existing contexts: