Skip to content

Commit

Permalink
[one-cmds] Add verbose option to utils (Samsung#7359)
Browse files Browse the repository at this point in the history
This commit allows to add verbose option to all one-xxx tools.

Signed-off-by: Jiyoung Yun <[email protected]>
  • Loading branch information
jyoungyun authored Aug 4, 2021
1 parent 50a9016 commit b581036
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions compiler/one-cmds/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ def _add_default_arg(parser):
action='store_true',
help='show program\'s version number and exit')

# verbose
parser.add_argument(
'-V',
'--verbose',
action='store_const',
default='0',
const='1',
help='output additional information to stdout or stderr')

# configuration file
parser.add_argument('-C', '--config', type=str, help='run with configuation file')
# section name that you want to run in configuration file
Expand Down

0 comments on commit b581036

Please sign in to comment.