[rhino] 03/09: Simplified the usage syntax displayed with the --help option

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jan 20 10:09:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository rhino.

commit c687e7e10acf5ba8dde77b0a691bcf7e389a89c5
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jan 19 18:57:47 2017 +0100

    Simplified the usage syntax displayed with the --help option
---
 debian/changelog                     |  1 +
 debian/patches/05_modify-usage.patch | 23 +++++++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f289121..a555abb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ rhino (1.7.7.1-1) UNRELEASED; urgency=medium
       and relocate the old coordinates rhino:js to org.mozilla:rhino
   * Removed the transitional package rhino-doc
   * Build with the DH sequencer instead of CDBS
+  * Simplified the usage syntax displayed with the --help option
   * Removed the out of tree debugger classes (merged upstream)
   * Ignore the Lintian warnings on the test files (false positives)
   * Install the upstream changelog
diff --git a/debian/patches/05_modify-usage.patch b/debian/patches/05_modify-usage.patch
new file mode 100644
index 0000000..629a3a2
--- /dev/null
+++ b/debian/patches/05_modify-usage.patch
@@ -0,0 +1,23 @@
+Description: Simplify the usage syntax displayed with the --help option
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/toolsrc/org/mozilla/javascript/tools/resources/Messages.properties
++++ b/toolsrc/org/mozilla/javascript/tools/resources/Messages.properties
+@@ -28,7 +28,7 @@
+     Invalid option "{0}"
+ 
+ msg.shell.usage =\
+-    Usage: java {0} [options...] [files]\n\
++    Usage: rhino [options...] [files]\n\
+     Valid options are:\n\
+     \    -?, -help          Displays help messages.\n\
+     \    -w                 Enable warnings.\n\
+@@ -110,7 +110,7 @@
+     For more information, try java {0} -h
+ 
+ msg.jsc.usage =\
+-Usage: java {0} [OPTION]... SOURCE...\n\
++Usage: rhino-jsc [OPTION]... SOURCE...\n\
+ Valid options are: \n\
+ \  -version VERSION   Use the specified language version.\n\
+ \                       VERSION should be one of 100|110|120|130|140|150|160|170.\n\
diff --git a/debian/patches/series b/debian/patches/series
index 0797f4e..93343f5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_rhino-nowarn.patch
 02_exclude-jdk15.patch
 03_public_getSourcePositionFromStack.patch
+05_modify-usage.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/rhino.git



More information about the pkg-java-commits mailing list