mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Add log-level option for all CLI commands
This commit is contained in:
parent
43f779a18b
commit
c0498abed3
@ -151,6 +151,10 @@ base_parser.add_argument('-c', '--config',
|
||||
help='Specify the location of the configuration file '
|
||||
'(use "-" for stdout)')
|
||||
|
||||
base_parser.add_argument('-l', '--log-level',
|
||||
choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
|
||||
help='Log level')
|
||||
|
||||
base_parser.add_argument('-y', '--yes', '--yes-please',
|
||||
action='store_true',
|
||||
help='Assume "yes" as answer to all prompts and run '
|
||||
|
Loading…
x
Reference in New Issue
Block a user