mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Merge pull request #199 from eht16/add_log_level_argument
Add --log-level command line argument
This commit is contained in:
@@ -162,6 +162,11 @@ def parse_args(args=None):
|
||||
default='.',
|
||||
dest='output_directory',
|
||||
help='directory at which to backup the repositories')
|
||||
parser.add_argument('-l',
|
||||
'--log-level',
|
||||
default='info',
|
||||
dest='log_level',
|
||||
help='log level to use (default: info, possible levels: debug, info, warning, error, critical)')
|
||||
parser.add_argument('-i',
|
||||
'--incremental',
|
||||
action='store_true',
|
||||
|
||||
Reference in New Issue
Block a user