HADOOP-6314. Fix "fs -help" for the "-count" commond. Contributed by Ravi Phulari

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@836019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2009-11-13 22:10:01 +00:00
parent 2eba5972ed
commit cdcb8514a0
2 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,9 @@ Trunk (unreleased changes)
HADOOP-6341. Fix test-patch.sh for checkTests function. (gkesavan) HADOOP-6341. Fix test-patch.sh for checkTests function. (gkesavan)
HADOOP-6314. Fix "fs -help" for the "-count" commond. (Ravi Phulari via
szetszwo)
Release 0.21.0 - Unreleased Release 0.21.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -1568,7 +1568,7 @@ private void printHelp(String cmd) {
System.out.println(chown); System.out.println(chown);
} else if ("chgrp".equals(cmd)) { } else if ("chgrp".equals(cmd)) {
System.out.println(chgrp); System.out.println(chgrp);
} else if (Count.matches(cmd)) { } else if (Count.NAME.equals(cmd)) {
System.out.println(Count.DESCRIPTION); System.out.println(Count.DESCRIPTION);
} else if ("help".equals(cmd)) { } else if ("help".equals(cmd)) {
System.out.println(help); System.out.println(help);