0
0
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:
strangeqargo 2016-05-14 14:33:28 +03:00
parent a5421e8c34
commit 897d581eec

View File

@ -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)