Fix "--force set" without a value sneaking a None in
This commit is contained in:
parent
435ce22920
commit
0c7fcd210f
@ -361,7 +361,8 @@ if __name__ == '__main__':
|
||||
found, unless --force is passed.
|
||||
""")
|
||||
parser_set.add_argument('symbol', metavar='SYMBOL')
|
||||
parser_set.add_argument('value', metavar='VALUE', nargs='?')
|
||||
parser_set.add_argument('value', metavar='VALUE', nargs='?',
|
||||
default='')
|
||||
parser_unset = subparsers.add_parser('unset',
|
||||
help="""Comment out the #define
|
||||
for SYMBOL. Do nothing if none
|
||||
|
Loading…
Reference in New Issue
Block a user