summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2015-06-04 14:22:02 -0700
committerPhilip Chimento <philip@endlessm.com>2015-06-04 14:28:21 -0700
commit3bf53ceb9486106a6014915a5e05510d9de53f85 (patch)
treea4575c06fe6a3c673a32bb294d0535d40f1a76a2 /tools
parent6363acd835544f411de297a7f3318b2e5c7fd5aa (diff)
Fix help strings of eos-json-extractor
I noticed that --version gave the wrong description, so I removed the description entirely. I changed the help string to parallel that of eos-html-extractor. [endlessm/eos-sdk#3245]
Diffstat (limited to 'tools')
-rw-r--r--tools/eos-json-extractor/eos-json-extractor.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/eos-json-extractor/eos-json-extractor.in b/tools/eos-json-extractor/eos-json-extractor.in
index fd61d4b..646fb9f 100644
--- a/tools/eos-json-extractor/eos-json-extractor.in
+++ b/tools/eos-json-extractor/eos-json-extractor.in
@@ -18,7 +18,8 @@ const programVersion = "@PACKAGE_VERSION@";
* Print command-line help message.
*/
function usage() {
- print('Extracts translatable strings fron JSON configuration file.\n');
+ print('Extracts translatable strings from JSON configuration file.\n' +
+ 'This is xgettext for JSON.\n');
print('Usage: %s [Options | <INPUT-FILE> <TOP-SRCDIR>]\n'.format(
System.programInvocationName));
print('Options:');
@@ -33,7 +34,7 @@ function usage() {
* Print command-line version output.
*/
function version() {
- print('%s %s - Discover unit tests in a source tree'.format(
+ print('%s %s'.format(
System.programInvocationName, programVersion));
System.exit(0);
}