mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	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:
		
							
								
								
									
										3
									
								
								changelog/18143.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								changelog/18143.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -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/): |   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() | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ellie
					Ellie