HADOOP-6414. Add command line help for -expunge command. Contributed by Ravi Phulari.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@890551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c4e1126980
commit
22fb49704b
@ -83,6 +83,9 @@ Trunk (unreleased changes)
|
||||
|
||||
HADOOP-6428. HttpServer sleeps with negative values. (cos)
|
||||
|
||||
HADOOP-6414. Add command line help for -expunge command.
|
||||
(Ravi Phulari via tomwhite)
|
||||
|
||||
Release 0.21.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -1506,6 +1506,8 @@ private void printHelp(String cmd) {
|
||||
String chgrp = FsShellPermissions.CHGRP_USAGE + "\n" +
|
||||
"\t\tThis is equivalent to -chown ... :GROUP ...\n";
|
||||
|
||||
String expunge = "-expunge: Empty the Trash.\n";
|
||||
|
||||
String help = "-help [cmd]: \tDisplays help for given command or all commands if none\n" +
|
||||
"\t\tis specified.\n";
|
||||
|
||||
@ -1527,6 +1529,8 @@ private void printHelp(String cmd) {
|
||||
System.out.println(dus);
|
||||
} else if ("rm".equals(cmd)) {
|
||||
System.out.println(rm);
|
||||
} else if ("expunge".equals(cmd)) {
|
||||
System.out.println(expunge);
|
||||
} else if ("rmr".equals(cmd)) {
|
||||
System.out.println(rmr);
|
||||
} else if ("mkdir".equals(cmd)) {
|
||||
|
Loading…
Reference in New Issue
Block a user