Mercurial > hg > truffle
changeset 18106:7a771b48e392
mx: improved ctw command usage message and made the default value for --ctwopts be "-Inline"
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 16 Oct 2014 13:51:28 +0200 |
parents | 922e104f179a |
children | 2579d0ac7ad6 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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='<options>') + parser.add_argument('--jar', action='store', help='jar of classes to compiled instead of rt.jar', metavar='<path>') parser.add_argument('vmargs', nargs=REMAINDER, metavar='VM options...') args, vmargs = parser.parse_known_args(args)