add --remote-exec and --remote-copy to command line args
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								ab53f471f8
							
						
					
				
			
			
				commit
				
					
						c7fbdc8195
					
				
			
		
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -68,6 +68,12 @@ def commandline():
 | 
				
			||||||
    parser['configinstall'].add_argument('-s', '--sequential',
 | 
					    parser['configinstall'].add_argument('-s', '--sequential',
 | 
				
			||||||
         help='Operate on multiple hosts sequentially (default)',
 | 
					         help='Operate on multiple hosts sequentially (default)',
 | 
				
			||||||
         action='store_false', dest='parallel')
 | 
					         action='store_false', dest='parallel')
 | 
				
			||||||
 | 
					    parser['configinstall'].add_argument('--remote-exec',
 | 
				
			||||||
 | 
					         help='Command to use for remote execution (should behave like ssh)',
 | 
				
			||||||
 | 
					         action='store_true', dest='remote_exec')
 | 
				
			||||||
 | 
					    parser['configinstall'].add_argument('--remote-copy',
 | 
				
			||||||
 | 
					         help='Command to use for remote copy (should behave like scp)',
 | 
				
			||||||
 | 
					         action='store_true', dest='remote_copy')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Config
 | 
					    # Config
 | 
				
			||||||
    parser['config'] = parser['sub'].add_parser('config',
 | 
					    parser['config'] = parser['sub'].add_parser('config',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue