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:
Ellie 2022-12-01 14:42:40 -06:00 committed by GitHub
parent afdb571319
commit 9dca708201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

3
changelog/18143.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
command/namespace: Fix vault cli namespace patch examples in help text.
```

View File

@ -37,11 +37,11 @@ Usage: vault namespace patch [options] PATH
Patch an existing child namespace by adding and removing custom-metadata (e.g. ns1/): 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/): 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() ` + c.Flags().Help()