Fix vault cli namespace patch examples (#18143)
* fix vault cli namespace patch examples * add changelog * Update changelog/18143.txt Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com> Co-authored-by: davidadeleon <56207066+davidadeleon@users.noreply.github.com>
This commit is contained in:
parent
afdb571319
commit
9dca708201
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
command/namespace: Fix vault cli namespace patch examples in help text.
|
||||
```
|
|
@ -37,11 +37,11 @@ Usage: vault namespace patch [options] PATH
|
|||
|
||||
Patch an existing child namespace by adding and removing custom-metadata (e.g. ns1/):
|
||||
|
||||
$ vault namespace patch ns1 -custom-metadata=foo=abc -remove-custom-metadata=bar
|
||||
$ vault namespace patch -custom-metadata=foo=abc -remove-custom-metadata=bar ns1
|
||||
|
||||
Patch an existing child namespace from a parent namespace (e.g. ns1/ns2/):
|
||||
|
||||
$ vault namespace patch -namespace=ns1 ns2 -custom-metadata=foo=abc
|
||||
$ vault namespace patch -namespace=ns1 -custom-metadata=foo=abc ns2
|
||||
|
||||
` + c.Flags().Help()
|
||||
|
||||
|
|
Loading…
Reference in New Issue