[ 
https://issues.apache.org/jira/browse/HADOOP-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481767
 ] 

Raghu Angadi commented on HADOOP-672:
-------------------------------------


1) Looks like this will print help for all commands if I say  '-help unknown'. 
Is that intentional?

2)
+          } else if ("-help".equals(cmd)) {
+            System.err.println("Usage: java FsShell" + 
+                " [-help [cmd]]");
+

This is never excuted, both in  FS and DFS, I think because there is no wrong 
way to invoke -help command.


> dfs shell enhancements
> ----------------------
>
>                 Key: HADOOP-672
>                 URL: https://issues.apache.org/jira/browse/HADOOP-672
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Yoram Arnon
>         Assigned To: dhruba borthakur
>            Priority: Minor
>         Attachments: fsshellHelp2.patch, hadoop-672.patch
>
>
>  A few enhancements to  dfsshell:
> Bring the wiki page up to date with the latest functionality if  that's not 
> done already.
> Add a -help option to the command.
> Make the syntax line more helpful in identifying which argument to each 
> command needs to
> be a directory, a file  or a glob.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to