[
https://issues.apache.org/jira/browse/HADOOP-7340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041528#comment-13041528
]
Harsh J Chouraria commented on HADOOP-7340:
-------------------------------------------
I think the text can still be improved. For instance, reading that line still
doesn't help me (who's never used 'addnl' before) understand _what_ it ought to
be set to. Should I type {{-getmerge path1 path2 addnl}} or should I type
{{-getmerge path1 path2 '\n'}}?
> incomplete help message is displayed for getmerge [addnl] option
> ----------------------------------------------------------------
>
> Key: HADOOP-7340
> URL: https://issues.apache.org/jira/browse/HADOOP-7340
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Fix For: 0.23.0
>
> Attachments: HADOOP-7340
>
>
> The help message for the command "hdfs dfs -help getmerge" is displayed like
> this:
> "-getmerge <src> <localdst> [addnl]: Get all the files in the directories
> that
> match the source file pattern and merge and sort them to only
> one file on local fs. <src> is kept."
> and the information about [addnl] option is missed,despite the fact that
> [addnl] option is implemented.
> Therefore,the expected message should be displayed like this:
> "-getmerge <src> <localdst> [addnl]: Get all the files in the directories
> that
> match the source file pattern and merge and sort them to only
> one file on local fs. <src> is kept.
> addnl Optionally addnl can be set to enable adding a
> newline
> character at the end of each file."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira