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:
parent
13e1be34e4
commit
3b57b151c9
|
@ -150,6 +150,7 @@ Trunk (unreleased changes)
|
||||||
HADOOP-7223. FileContext createFlag combinations are not clearly defined.
|
HADOOP-7223. FileContext createFlag combinations are not clearly defined.
|
||||||
(suresh)
|
(suresh)
|
||||||
|
|
||||||
|
HADOOP-7231. Fix synopsis for -count. (Daryn Sharp via eli).
|
||||||
|
|
||||||
Release 0.22.0 - Unreleased
|
Release 0.22.0 - Unreleased
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class Count extends FsCommand {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final String NAME = "count";
|
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,
|
public static final String DESCRIPTION = CommandUtils.formatDescription(USAGE,
|
||||||
"Count the number of directories, files and bytes under the paths",
|
"Count the number of directories, files and bytes under the paths",
|
||||||
"that match the specified file pattern. The output columns are:",
|
"that match the specified file pattern. The output columns are:",
|
||||||
|
|
|
@ -222,7 +222,7 @@
|
||||||
<comparators>
|
<comparators>
|
||||||
<comparator>
|
<comparator>
|
||||||
<type>RegexpComparator</type>
|
<type>RegexpComparator</type>
|
||||||
<expected-output>^-count\[-q\] <path>: Count the number of directories, files and bytes under the paths( )*</expected-output>
|
<expected-output>^-count \[-q\] <path> \.\.\.: Count the number of directories, files and bytes under the paths( )*</expected-output>
|
||||||
</comparator>
|
</comparator>
|
||||||
<comparator>
|
<comparator>
|
||||||
<type>RegexpComparator</type>
|
<type>RegexpComparator</type>
|
||||||
|
|
Loading…
Reference in New Issue