comparison mxtool/mx.py @ 21514:b426469fadb7

mx: better description for strict-compliance and fix typo
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Wed, 06 May 2015 17:04:06 +0200
parents fbe449ca9707
children 28cbfacd0518
comparison
equal deleted inserted replaced
21513:d760a7d64801 21514:b426469fadb7
1678 self.add_argument('--Jp', action='append', dest='java_args_pfx', help='prefix Java VM arguments (e.g. --Jp @-dsa)', metavar='@<args>', default=[]) 1678 self.add_argument('--Jp', action='append', dest='java_args_pfx', help='prefix Java VM arguments (e.g. --Jp @-dsa)', metavar='@<args>', default=[])
1679 self.add_argument('--Ja', action='append', dest='java_args_sfx', help='suffix Java VM arguments (e.g. --Ja @-dsa)', metavar='@<args>', default=[]) 1679 self.add_argument('--Ja', action='append', dest='java_args_sfx', help='suffix Java VM arguments (e.g. --Ja @-dsa)', metavar='@<args>', default=[])
1680 self.add_argument('--user-home', help='users home directory', metavar='<path>', default=os.path.expanduser('~')) 1680 self.add_argument('--user-home', help='users home directory', metavar='<path>', default=os.path.expanduser('~'))
1681 self.add_argument('--java-home', help='primary JDK directory (must be JDK 7 or later)', metavar='<path>') 1681 self.add_argument('--java-home', help='primary JDK directory (must be JDK 7 or later)', metavar='<path>')
1682 self.add_argument('--extra-java-homes', help='secondary JDK directories separated by "' + os.pathsep + '"', metavar='<path>') 1682 self.add_argument('--extra-java-homes', help='secondary JDK directories separated by "' + os.pathsep + '"', metavar='<path>')
1683 self.add_argument('--strict-compliance', action='store_true', dest='strict_compliance', help='Projects of a certain compliance will only be built with a JDK of this exact compliance', default=False) 1683 self.add_argument('--strict-compliance', action='store_true', dest='strict_compliance', help='Projects with an explicit compliance will only be built if a JDK exactly matching the compliance is available', default=False)
1684 self.add_argument('--ignore-project', action='append', dest='ignored_projects', help='name of project to ignore', metavar='<name>', default=[]) 1684 self.add_argument('--ignore-project', action='append', dest='ignored_projects', help='name of project to ignore', metavar='<name>', default=[])
1685 self.add_argument('--kill-with-sigquit', action='store_true', dest='killwithsigquit', help='send sigquit first before killing child processes') 1685 self.add_argument('--kill-with-sigquit', action='store_true', dest='killwithsigquit', help='send sigquit first before killing child processes')
1686 if get_os() != 'windows': 1686 if get_os() != 'windows':
1687 # Time outs are (currently) implemented with Unix specific functionality 1687 # Time outs are (currently) implemented with Unix specific functionality
1688 self.add_argument('--timeout', help='timeout (in seconds) for command', type=int, default=0, metavar='<secs>') 1688 self.add_argument('--timeout', help='timeout (in seconds) for command', type=int, default=0, metavar='<secs>')