# HG changeset patch # User Doug Simon # Date 1413460288 -7200 # Node ID 7a771b48e392b0bec80bc25df446a5eea339b7c4 # Parent 922e104f179a8ee477413ec6d3d65d9cd6c2f72a mx: improved ctw command usage message and made the default value for --ctwopts be "-Inline" diff -r 922e104f179a -r 7a771b48e392 mx/mx_graal.py --- a/mx/mx_graal.py Thu Oct 16 12:17:26 2014 +0200 +++ b/mx/mx_graal.py Thu Oct 16 13:51:28 2014 +0200 @@ -1365,9 +1365,11 @@ def ctw(args): """run CompileTheWorld""" + defaultCtwopts = '-Inline' + parser = ArgumentParser(prog='mx ctw') - parser.add_argument('--ctwopts', action='store', help='space separated Graal options (without the -G: prefix) used for CTW compilations') - parser.add_argument('--jar', action='store', help='jar of classes to compiled instead of rt.jar') + parser.add_argument('--ctwopts', action='store', help='space separated Graal options used for CTW compilations (default: --ctwopts="' + defaultCtwopts + '")', default=defaultCtwopts, metavar='') + parser.add_argument('--jar', action='store', help='jar of classes to compiled instead of rt.jar', metavar='') parser.add_argument('vmargs', nargs=REMAINDER, metavar='VM options...') args, vmargs = parser.parse_known_args(args)