1 #
2 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
49 #
50 nashorn.options.D.key = nashorn.option.D
51
52 ##
53 ## Grammar: at least short or long form. Arguments are optional, in that case they are given as
54 ##
55 ## params - a description of the parameters for command line usage
56 ## name - the name of the option, e.g. "--long-name"
57 ## short_name - the short name of the option, e.g. "-l"
58 ## type - the type of the option, currently allowed: boolean, integer, string, log, timezone. defaults to boolean if left out
59 ## is_undocumented - should this option never appear in the online help. defaults to no.
60 ## desc - description of what the option does
61 ## default - default value of the option. e.g. debug.lines is true by default. Not set means option not available by default
62 ## dependency - does this arg imply another arg.
63 ## confict - does this arg conflict with another arg e.g trace && instrument
64 ## value_next_arg - is the opton's value passed as next argument in command line?
65 ##
66 ## At least short_name or name needs to be in place for an argument descriptor to be valid.
67
68 nashorn.option.help = { \
69 name="-help", \
70 short_name="-h", \
71 desc="Print help for command line flags." \
72 }
73
74 nashorn.option.xhelp = { \
75 name="-xhelp", \
76 is_undocumented=true, \
77 desc="Print extended help for command line flags." \
78 }
79
80 nashorn.option.anonymous.classes = { \
81 name="--anonymous-classes", \
82 is_undocumented=true, \
83 params=[auto|true|false], \
84 default=auto, \
85 type=string, \
86 desc="Use VM anonymous classes for compiled scripts." \
87 }
88
89 nashorn.option.class.cache.size ={ \
90 name="--class-cache-size", \
91 short_name="-ccs", \
|
1 #
2 # Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
49 #
50 nashorn.options.D.key = nashorn.option.D
51
52 ##
53 ## Grammar: at least short or long form. Arguments are optional, in that case they are given as
54 ##
55 ## params - a description of the parameters for command line usage
56 ## name - the name of the option, e.g. "--long-name"
57 ## short_name - the short name of the option, e.g. "-l"
58 ## type - the type of the option, currently allowed: boolean, integer, string, log, timezone. defaults to boolean if left out
59 ## is_undocumented - should this option never appear in the online help. defaults to no.
60 ## desc - description of what the option does
61 ## default - default value of the option. e.g. debug.lines is true by default. Not set means option not available by default
62 ## dependency - does this arg imply another arg.
63 ## confict - does this arg conflict with another arg e.g trace && instrument
64 ## value_next_arg - is the opton's value passed as next argument in command line?
65 ##
66 ## At least short_name or name needs to be in place for an argument descriptor to be valid.
67
68 nashorn.option.help = { \
69 name="--help", \
70 short_name="-h", \
71 desc="Print this help message." \
72 }
73
74 nashorn.option.xhelp = { \
75 name="-xhelp", \
76 is_undocumented=true, \
77 desc="Print extended help for command line flags." \
78 }
79
80 nashorn.option.anonymous.classes = { \
81 name="--anonymous-classes", \
82 is_undocumented=true, \
83 params=[auto|true|false], \
84 default=auto, \
85 type=string, \
86 desc="Use VM anonymous classes for compiled scripts." \
87 }
88
89 nashorn.option.class.cache.size ={ \
90 name="--class-cache-size", \
91 short_name="-ccs", \
|