forked from ungleich-public/cdist
		
	Better document -v option.
This commit is contained in:
		
					parent
					
						
							
								e7c3c15724
							
						
					
				
			
			
				commit
				
					
						b819507415
					
				
			
		
					 2 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
					@ -50,8 +50,9 @@ All commands accept the following options:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. option:: -v, --verbose
 | 
					.. option:: -v, --verbose
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Increase log level, be more verbose. The order of levels from lowest to
 | 
					    Increase log level, be more verbose. Use it more than onceto increase
 | 
				
			||||||
    greatest are: ERROR, WARNING, INFO, DEBUG.
 | 
					    log level. The order of levels from the lowest to the greatest are:
 | 
				
			||||||
 | 
					    ERROR, WARNING, INFO, DEBUG.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. option:: -V, --version
 | 
					.. option:: -V, --version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -94,8 +94,9 @@ def commandline():
 | 
				
			||||||
            action='store_true', default=False)
 | 
					            action='store_true', default=False)
 | 
				
			||||||
    parser['loglevel'].add_argument(
 | 
					    parser['loglevel'].add_argument(
 | 
				
			||||||
            '-v', '--verbose',
 | 
					            '-v', '--verbose',
 | 
				
			||||||
            help=('Increase log level, be more verbose. The order of levels '
 | 
					            help=('Increase log level, be more verbose. Use it more than once '
 | 
				
			||||||
                  'from lowest to greatest are: ERROR, WARNING, INFO, DEBUG.'),
 | 
					                  'to increase log level. The order of levels from the lowest '
 | 
				
			||||||
 | 
					                  'to the greatest are: ERROR, WARNING, INFO, DEBUG.'),
 | 
				
			||||||
            action='count', default=0)
 | 
					            action='count', default=0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Main subcommand parser
 | 
					    # Main subcommand parser
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue