HADOOP-6139. Fix the FsShell help messages for rm and rmr. Contributed by Jakob Homan
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@793098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c38c5a43ff
commit
d074c686b3
|
@ -1011,6 +1011,9 @@ Release 0.20.1 - Unreleased
|
||||||
HADOOP-5920. Fixes a testcase failure for TestJobHistory.
|
HADOOP-5920. Fixes a testcase failure for TestJobHistory.
|
||||||
(Amar Kamat via ddas)
|
(Amar Kamat via ddas)
|
||||||
|
|
||||||
|
HADOOP-6139. Fix the FsShell help messages for rm and rmr. (Jakob Homan
|
||||||
|
via szetszwo)
|
||||||
|
|
||||||
Release 0.20.0 - 2009-04-15
|
Release 0.20.0 - 2009-04-15
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -1679,7 +1679,6 @@ public class FsShell extends Configured implements Tool {
|
||||||
" [-D <[property=value>]");
|
" [-D <[property=value>]");
|
||||||
} else if ("-ls".equals(cmd) || "-lsr".equals(cmd) ||
|
} else if ("-ls".equals(cmd) || "-lsr".equals(cmd) ||
|
||||||
"-du".equals(cmd) || "-dus".equals(cmd) ||
|
"-du".equals(cmd) || "-dus".equals(cmd) ||
|
||||||
"-rm".equals(cmd) || "-rmr".equals(cmd) ||
|
|
||||||
"-touchz".equals(cmd) || "-mkdir".equals(cmd) ||
|
"-touchz".equals(cmd) || "-mkdir".equals(cmd) ||
|
||||||
"-text".equals(cmd)) {
|
"-text".equals(cmd)) {
|
||||||
System.err.println("Usage: java FsShell" +
|
System.err.println("Usage: java FsShell" +
|
||||||
|
@ -1689,6 +1688,9 @@ public class FsShell extends Configured implements Tool {
|
||||||
" [" + cmd + " [<path>]]");
|
" [" + cmd + " [<path>]]");
|
||||||
} else if (Count.matches(cmd)) {
|
} else if (Count.matches(cmd)) {
|
||||||
System.err.println(prefix + " [" + Count.USAGE + "]");
|
System.err.println(prefix + " [" + Count.USAGE + "]");
|
||||||
|
} else if ("-rm".equals(cmd) || "-rmr".equals(cmd)) {
|
||||||
|
System.err.println("Usage: java FsShell [" + cmd +
|
||||||
|
" [-skipTrash] <src>]");
|
||||||
} else if ("-mv".equals(cmd) || "-cp".equals(cmd)) {
|
} else if ("-mv".equals(cmd) || "-cp".equals(cmd)) {
|
||||||
System.err.println("Usage: java FsShell" +
|
System.err.println("Usage: java FsShell" +
|
||||||
" [" + cmd + " <src> <dst>]");
|
" [" + cmd + " <src> <dst>]");
|
||||||
|
|
Loading…
Reference in New Issue