Skip to content

Commit

Permalink
Update --no-strongbox help for target
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmitchell committed Mar 6, 2020
1 parent d12181f commit a7d0da6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion ci/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ some of the default flag values for `x509 issue`.
# Improvements

* Key usage strings provided on the command line are now case-insensitive.
* `generate` was added as a command alias to `gen`.
* `generate` was added as a command alias to `gen`.

# Bug Fixes

* Updated help for `target` not to say to use `-s=false`. go-cli apparently won't
handle that syntax, and so it has been updated to suggest `--no-strongbox` for the
same functionality.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ if provided, the following flags are valid:
effect if the given URL uses an HTTPS scheme.
-s (--strongbox) specifies that the targeted Vault has a strongbox deployed at
its IP on port :8484. This is true by default. -s=false will cause commands
its IP on port :8484. This is true by default. --no-strongbox will cause commands
that would otherwise use strongbox to run against only the targeted Vault.
-n (--namespace) specifies a Vault Enterprise namespace to run commands against
Expand All @@ -481,7 +481,7 @@ PEM-encoded certificate. The given certificate will be trusted as the signing
certificate to the certificate served by the Vault server. This flag can be
provided multiple times to provide multiple CA certificates.
`,
Usage: "safe [-k] [-s] [-n] [--ca-cert] target [URL] [ALIAS] | safe target -i",
Usage: "safe [-k] [--[no]-strongbox] [-n] [--ca-cert] target [URL] [ALIAS] | safe target -i",
Type: AdministrativeCommand,
}, func(command string, args ...string) error {
var cfg rc.Config
Expand Down

0 comments on commit a7d0da6

Please sign in to comment.