Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3048 from hashicorp/cli/fixup-context-create
Browse files Browse the repository at this point in the history
fixup: Don't include default value
  • Loading branch information
briancain authored Feb 28, 2022
2 parents 9ab9501 + e355a3e commit 957bbeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cli/context_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (c *ContextCreateCommand) Flags() *flag.Sets {
Name: "set-default",
Target: &c.flagSetDefault,
Default: true,
Usage: "Set this context as the new default for the CLI. Defaults to true.",
Usage: "Set this context as the new default for the CLI.",
})
f.StringVar(&flag.StringVar{
Name: "server-addr",
Expand Down
2 changes: 1 addition & 1 deletion website/content/commands/context-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Creates a new context.

#### Command Options

- `-set-default` - Set this context as the new default for the CLI. Defaults to true.
- `-set-default` - Set this context as the new default for the CLI.
- `-server-addr=<string>` - Address for the server.
- `-server-auth-token=<string>` - Authentication token to use to connect to the server.
- `-server-tls` - If true, will connect to the server over TLS.
Expand Down

0 comments on commit 957bbeb

Please sign in to comment.