File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ Available Commands:
6565  delete      yq d [--inplace/-i] [--doc/-d index] sample.yaml a.b.c 
6666  help        Help about any command 
6767  merge       yq m [--inplace/-i] [--doc/-d index] [--overwrite/-x] sample.yaml sample2.yaml 
68-   new         yq n [--script/-s script_file] a.b.c newValueForC  
68+   new         yq n [--script/-s script_file] a.b.c newValue  
6969  read        yq r [--doc/-d index] sample.yaml a.b.c 
70-   write       yq w [--inplace/-i] [--script/-s script_file] [--doc/-d index] sample.yaml a.b.c newValueForC  
70+   write       yq w [--inplace/-i] [--script/-s script_file] [--doc/-d index] sample.yaml a.b.c newValue  
7171
7272Flags: 
7373  -h, --help      help for yq 
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func createWriteCmd() *cobra.Command {
105105	var  cmdWrite  =  & cobra.Command {
106106		Use :     "write [yaml_file] [path] [value]" ,
107107		Aliases : []string {"w" },
108- 		Short :   "yq w [--inplace/-i] [--script/-s script_file] [--doc/-d index] sample.yaml a.b.c newValueForC " ,
108+ 		Short :   "yq w [--inplace/-i] [--script/-s script_file] [--doc/-d index] sample.yaml a.b.c newValue " ,
109109		Example : ` 
110110yq write things.yaml a.b.c cat 
111111yq write --inplace things.yaml a.b.c cat 
@@ -161,7 +161,7 @@ func createNewCmd() *cobra.Command {
161161	var  cmdNew  =  & cobra.Command {
162162		Use :     "new [path] [value]" ,
163163		Aliases : []string {"n" },
164- 		Short :   "yq n [--script/-s script_file] a.b.c newValueForC " ,
164+ 		Short :   "yq n [--script/-s script_file] a.b.c newValue " ,
165165		Example : ` 
166166yq new a.b.c cat 
167167yq n a.b.c cat 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments