Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Fix for NUTCH-1906 Typo in CrawlDbReader command line help contributed by Michael Joyce <[email protected]>. This closes #20.

Chris Mattmann255fcb2ae9c0
diff --git a/CHANGES.txt b/CHANGES.txt
index 9493e3655..e333ba08e 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
Nutch Current Development 1.10-SNAPSHOT
+* NUTCH-1906 Typo in CrawlDbReader command line help (Michael Joyce via mattmann)
+
* NUTCH-1911 Imeprove DomainStatistics tool command line parsing (Michael Joyce via mattmann)
* NUTCH-1981 Upgrade to icu4j 55.1 (Marko Asplund via snagel)
diff --git a/src/java/org/apache/nutch/crawl/CrawlDbReader.java b/src/java/org/apache/nutch/crawl/CrawlDbReader.java
index b3834bf0d..60452300f 100644
--- a/src/java/org/apache/nutch/crawl/CrawlDbReader.java
+++ b/src/java/org/apache/nutch/crawl/CrawlDbReader.java
@@ -622,7 +622,7 @@ public class CrawlDbReader extends Configured implements Closeable, Tool {
.println("\t<crawldb>\tdirectory name where crawldb is located");
System.err
.println("\t-stats [-sort] \tprint overall statistics to System.out");
- System.err.println("\t\t[-sort]\tlist status sorted by host");
+ System.err.println("\t\t\tand optionally sort by host");
System.err
.println("\t-dump <out_dir> [-format normal|csv|crawldb]\tdump the whole db to a text file in <out_dir>");
System.err.println("\t\t[-format csv]\tdump in Csv format");
@@ -703,4 +703,4 @@ public class CrawlDbReader extends Configured implements Closeable, Tool {
new CrawlDbReader(), args);
System.exit(result);
}
-}
\ No newline at end of file
+}