HADOOP-7231. Fix synopsis for -count. Contributed by Daryn Sharp.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1095121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2011-04-19 15:48:55 +00:00
parent 13e1be34e4
commit 3b57b151c9
3 changed files with 3 additions and 2 deletions

View File

@ -150,6 +150,7 @@ Trunk (unreleased changes)
HADOOP-7223. FileContext createFlag combinations are not clearly defined.
(suresh)
HADOOP-7231. Fix synopsis for -count. (Daryn Sharp via eli).
Release 0.22.0 - Unreleased

View File

@ -43,7 +43,7 @@ public class Count extends FsCommand {
}
public static final String NAME = "count";
public static final String USAGE = "-" + NAME + "[-q] <path>";
public static final String USAGE = "-" + NAME + " [-q] <path> ...";
public static final String DESCRIPTION = CommandUtils.formatDescription(USAGE,
"Count the number of directories, files and bytes under the paths",
"that match the specified file pattern. The output columns are:",

View File

@ -222,7 +222,7 @@
<comparators>
<comparator>
<type>RegexpComparator</type>
<expected-output>^-count\[-q\] &lt;path&gt;: Count the number of directories, files and bytes under the paths( )*</expected-output>
<expected-output>^-count \[-q\] &lt;path&gt; \.\.\.: Count the number of directories, files and bytes under the paths( )*</expected-output>
</comparator>
<comparator>
<type>RegexpComparator</type>