comparison mx/commands.py @ 9291:90ee20fd2c05

help text fix
author Doug Simon <doug.simon@oracle.com>
date Thu, 25 Apr 2013 16:57:09 +0200
parents ec607ddaa99b
children cdc21fd3d389
comparison
equal deleted inserted replaced
9290:17b598df8da9 9291:90ee20fd2c05
1359 mx.add_argument('--vm', action='store', dest='vm', default='graal', choices=_vmChoices, help='the VM to build/run (default: ' + _vmChoices[0] + ')') 1359 mx.add_argument('--vm', action='store', dest='vm', default='graal', choices=_vmChoices, help='the VM to build/run (default: ' + _vmChoices[0] + ')')
1360 for c in _vmbuildChoices: 1360 for c in _vmbuildChoices:
1361 mx.add_argument('--' + c, action='store_const', dest='vmbuild', const=c, help='select the ' + c + ' build of the VM') 1361 mx.add_argument('--' + c, action='store_const', dest='vmbuild', const=c, help='select the ' + c + ' build of the VM')
1362 mx.add_argument('--ecl', action='store_true', dest='make_eclipse_launch', help='create launch configuration for running VM execution(s) in Eclipse') 1362 mx.add_argument('--ecl', action='store_true', dest='make_eclipse_launch', help='create launch configuration for running VM execution(s) in Eclipse')
1363 mx.add_argument('--native-dbg', action='store', dest='native_dbg', help='Start the vm inside a debugger', metavar='<debugger>') 1363 mx.add_argument('--native-dbg', action='store', dest='native_dbg', help='Start the vm inside a debugger', metavar='<debugger>')
1364 mx.add_argument('--gdb', action='store_const', const='/usr/bin/gdb --args', dest='native_dbg', help='alias for --native-dbg /usr/bin/gdb -- args') 1364 mx.add_argument('--gdb', action='store_const', const='/usr/bin/gdb --args', dest='native_dbg', help='alias for --native-dbg /usr/bin/gdb --args')
1365 1365
1366 commands.update({ 1366 commands.update({
1367 'export': [export, '[-options] [zipfile]'], 1367 'export': [export, '[-options] [zipfile]'],
1368 'build': [build, '[-options] [' + '|'.join(_vmbuildChoices) + ']...'] 1368 'build': [build, '[-options] [' + '|'.join(_vmbuildChoices) + ']...']
1369 }) 1369 })