[
https://issues.apache.org/jira/browse/ZOOKEEPER-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J updated ZOOKEEPER-1326:
-------------------------------
Attachment: ZOOKEEPER-1326.patch
Attached patch switches over from 'delete' to 'rm' in a deprecating and
non-breaking fashion.
Changes existing tests to use 'rm' as well.
> The CLI commands "delete" and "rmr" are confusing. Can we have "rm" + "rmr"
> instead?
> ------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1326
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1326
> Project: ZooKeeper
> Issue Type: Wish
> Components: java client
> Affects Versions: 3.4.0
> Reporter: Harsh J
> Priority: Trivial
> Attachments: ZOOKEEPER-1326.patch
>
>
> ZOOKEEPER-729 introduced 'rmr' for recursive 'delete' operations on a given
> node. Going by the unix convention, wouldn't it be much better if we were to
> have an 'rm' if there was an 'rmr' added?
> The current set is confusing. Or should we have 'delete' and 'deleteall' or
> summat?
> I know this is a nitpick, but I just dislike to see bad keywords used for
> commands.
> I'm OK to produce a backwards-compatible patch if this is acceptable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira