Debian Codegraph @

rhino/debian/patches/05_modify-usage.patch

raw
1 Description: Simplify the usage syntax displayed with the --help option
2 Author: Emmanuel Bourg <[email protected]>
3 Forwarded: not-needed
4 --- a/toolsrc/org/mozilla/javascript/tools/resources/Messages.properties
5 +++ b/toolsrc/org/mozilla/javascript/tools/resources/Messages.properties
6 @@ -28,7 +28,7 @@
7 Invalid option "{0}"
8
9 msg.shell.usage =\
10 - Usage: java {0} [options...] [files]\n\
11 + Usage: rhino [options...] [files]\n\
12 Valid options are:\n\
13 \ -?, -help Displays help messages.\n\
14 \ -w Enable warnings.\n\
15 @@ -110,7 +110,7 @@
16 For more information, try java {0} -h
17
18 msg.jsc.usage =\
19 -Usage: java {0} [OPTION]... SOURCE...\n\
20 +Usage: rhino-jsc [OPTION]... SOURCE...\n\
21 Valid options are: \n\
22 \ -version VERSION Use the specified language version.\n\
23 \ VERSION should be one of 100|110|120|130|140|150|160|170.\n\