File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
src/java/org/apache/hadoop/fs Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1011,6 +1011,9 @@ Release 0.20.1 - Unreleased
10111011 HADOOP-5920. Fixes a testcase failure for TestJobHistory.
10121012 (Amar Kamat via ddas)
10131013
1014+ HADOOP-6139. Fix the FsShell help messages for rm and rmr. (Jakob Homan
1015+ via szetszwo)
1016+
10141017Release 0.20.0 - 2009-04-15
10151018
10161019 INCOMPATIBLE CHANGES
Original file line number Diff line number Diff line change @@ -1679,7 +1679,6 @@ private static void printUsage(String cmd) {
16791679 " [-D <[property=value>]" );
16801680 } else if ("-ls" .equals (cmd ) || "-lsr" .equals (cmd ) ||
16811681 "-du" .equals (cmd ) || "-dus" .equals (cmd ) ||
1682- "-rm" .equals (cmd ) || "-rmr" .equals (cmd ) ||
16831682 "-touchz" .equals (cmd ) || "-mkdir" .equals (cmd ) ||
16841683 "-text" .equals (cmd )) {
16851684 System .err .println ("Usage: java FsShell" +
@@ -1689,6 +1688,9 @@ private static void printUsage(String cmd) {
16891688 " [" + cmd + " [<path>]]" );
16901689 } else if (Count .matches (cmd )) {
16911690 System .err .println (prefix + " [" + Count .USAGE + "]" );
1691+ } else if ("-rm" .equals (cmd ) || "-rmr" .equals (cmd )) {
1692+ System .err .println ("Usage: java FsShell [" + cmd +
1693+ " [-skipTrash] <src>]" );
16921694 } else if ("-mv" .equals (cmd ) || "-cp" .equals (cmd )) {
16931695 System .err .println ("Usage: java FsShell" +
16941696 " [" + cmd + " <src> <dst>]" );
You can’t perform that action at this time.
0 commit comments