瀏覽代碼

HADOOP-3223. Fix typo in help message for -chmod. (rangadi)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17@646953 13f79535-47bb-0310-9956-ffa450edef68
Raghu Angadi 17 年之前
父節點
當前提交
b21eb6f06d
共有 2 個文件被更改,包括 5 次插入3 次删除
  1. 2 0
      CHANGES.txt
  2. 3 3
      src/java/org/apache/hadoop/fs/FsShell.java

+ 2 - 0
CHANGES.txt

@@ -545,6 +545,8 @@ Release 0.17.0 - Unreleased
    HADOOP-3224. 'dfs -du /dir' does not return correct size.
    (Lohit Vjayarenu via rangadi)
 
+   HADOOP-3223. Fix typo in help message for -chmod. (rangadi)
+
 Release 0.16.3 - Unreleased
 
   BUG FIXES

+ 3 - 3
src/java/org/apache/hadoop/fs/FsShell.java

@@ -1391,12 +1391,12 @@ public class FsShell extends Configured implements Tool {
       "\t-R\tmodifies the files recursively. This is the only option\n" +
       "\t\tcurrently supported.\n\n" +
       "\tMODE\tMode is same as mode used for chmod shell command.\n" +
-      "\t\tOnly letters recognized are 'rwxX'. E.g.: a+r,g-w,+rwx,o=r\n\n" +
+      "\t\tOnly letters recognized are 'rwxX'. E.g. a+r,g-w,+rwx,o=r\n\n" +
       "\tOCTALMODE Mode specifed in 3 digits. Unlike shell command,\n" +
       "\t\tthis requires all three digits.\n" +
-      "\t\tE.g.: 754 is same as u=rwx,g=rw,o=r\n\n" +
+      "\t\tE.g. 754 is same as u=rwx,g=rx,o=r\n\n" +
       "\t\tIf none of 'augo' is specified, 'a' is assumed and unlike\n" +
-      "\t\tshell command, no umask is applied\n";
+      "\t\tshell command, no umask is applied.\n";
     
     String chown = FsShellPermissions.CHOWN_USAGE + "\n" +
       "\t\tChanges owner and group of a file.\n" +