Revision: 9393
http://languagetool.svn.sourceforge.net/languagetool/?rev=9393&view=rev
Author: dnaber
Date: 2013-02-16 18:03:02 +0000 (Sat, 16 Feb 2013)
Log Message:
-----------
improve usage text a bit
Modified Paths:
--------------
trunk/languagetool/languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/Main.java
Modified:
trunk/languagetool/languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/Main.java
===================================================================
---
trunk/languagetool/languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/Main.java
2013-02-16 17:19:40 UTC (rev 9392)
+++
trunk/languagetool/languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/Main.java
2013-02-16 18:03:02 UTC (rev 9393)
@@ -53,15 +53,15 @@
}
private static void printUsageAndExit() {
- System.out.println("Usage: " + Main.class.getName() + " <command>
<command-specific-argument>");
- System.out.println("Where command is one of:");
+ System.out.println("Usage: " + Main.class.getName() + " <command>
<command-specific-arguments>");
+ System.out.println("Where <command> is one of:");
System.out.println(" check-dump - check a Wikipedia XML dump");
System.out.println(" wiki-index - index a Wikipedia XML dump");
System.out.println(" wiki-check - check a single Wikipedia page, fetched
via the Mediawiki API");
System.out.println(" index - index a plain text file, putting the
analysis in a Lucene index for faster rule match search");
System.out.println(" search - search for rule matches in an index
created with 'index' or 'wiki-index'");
System.out.println("All commands have different usages. Call them without
arguments to get help.");
- System.out.println("Example:");
+ System.out.println("Example for a call with valid arguments:");
System.out.println(" java -jar languagetool-wikipedia.jar wiki-check
http://de.wikipedia.org/wiki/Bielefeld");
System.exit(1);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits