< prev index next >

src/java.scripting/share/classes/com/sun/tools/script/shell/messages.properties

Print this page
rev 48243 : 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
   1 #
   2 # Copyright (c) 2005, 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


  38 engine.info=\
  39         Language {0} {1} implementation "{2}" {3}
  40 
  41 encoding.unsupported=\
  42         encoding {0} is not supported
  43 
  44 main.usage=\
  45 Usage: {0} [options] [arguments...]\n\
  46 \n\
  47 where [options] include:\n\
  48 \  \-classpath <path>    Specify where to find user class files \n\
  49 \  \-cp <path>           Specify where to find user class files \n\
  50 \  \-D<name>=<value>     Set a system property \n\
  51 \  \-J<flag>             Pass <flag> directly to the runtime system \n\
  52 \  \-l <language>        Use specified scripting language \n\
  53 \  \-e <script>          Evaluate given script \n\
  54 \  \-encoding <encoding> Specify character encoding used by script files \n\
  55 \  \-f <script file>     Evaluate given script file \n\
  56 \  \-f -                 Interactive mode, read script from standard input \n\
  57 \  \                     If this is used, this should be the last -f option \n\
  58 \  \-help                Print this usage message and exit \n\
  59 \  \-?                   Print this usage message and exit \n\
  60 \  \-q                   List all scripting engines available and exit \n\
  61 \  \n\
  62 If [arguments..] are present and if no -e or -f option is used, then first\n\
  63 argument is script file and the rest of the arguments, if any, are passed\n\
  64 as script arguments. If [arguments..] and -e or -f option is used, then all\n\
  65 [arguments..] are passed as script arguments. If [arguments..], -e, -f are\n\
  66 missing, then interactive mode is used.
   1 #
   2 # Copyright (c) 2005, 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


  38 engine.info=\
  39         Language {0} {1} implementation "{2}" {3}
  40 
  41 encoding.unsupported=\
  42         encoding {0} is not supported
  43 
  44 main.usage=\
  45 Usage: {0} [options] [arguments...]\n\
  46 \n\
  47 where [options] include:\n\
  48 \  \-classpath <path>    Specify where to find user class files \n\
  49 \  \-cp <path>           Specify where to find user class files \n\
  50 \  \-D<name>=<value>     Set a system property \n\
  51 \  \-J<flag>             Pass <flag> directly to the runtime system \n\
  52 \  \-l <language>        Use specified scripting language \n\
  53 \  \-e <script>          Evaluate given script \n\
  54 \  \-encoding <encoding> Specify character encoding used by script files \n\
  55 \  \-f <script file>     Evaluate given script file \n\
  56 \  \-f -                 Interactive mode, read script from standard input \n\
  57 \  \                     If this is used, this should be the last -f option \n\
  58 \  \-? -h --help -help   Print this help message and exit \n\

  59 \  \-q                   List all scripting engines available and exit \n\
  60 \  \n\
  61 If [arguments..] are present and if no -e or -f option is used, then first\n\
  62 argument is script file and the rest of the arguments, if any, are passed\n\
  63 as script arguments. If [arguments..] and -e or -f option is used, then all\n\
  64 [arguments..] are passed as script arguments. If [arguments..], -e, -f are\n\
  65 missing, then interactive mode is used.
< prev index next >