mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
fix -[no-]- display in arguments
This commit is contained in:
parent
a5421e8c34
commit
897d581eec
@ -83,7 +83,7 @@ def help():
|
|||||||
for arg in list(optionalArgs.keys()):
|
for arg in list(optionalArgs.keys()):
|
||||||
if arg == '-help':
|
if arg == '-help':
|
||||||
continue
|
continue
|
||||||
argString = argString + ' [-[no-]'+arg+'] ' + optionalArgs[arg] + '\n'
|
argString = argString + ' [-[no]'+arg+'] ' + optionalArgs[arg] + '\n'
|
||||||
print('Usage: ddl2cpp [-help] ' + argString + ' <path to ddl> <path to target (without extension, e.g. /tmp/MyTable)> <namespace>')
|
print('Usage: ddl2cpp [-help] ' + argString + ' <path to ddl> <path to target (without extension, e.g. /tmp/MyTable)> <namespace>')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user