You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Harsh J (Updated) (JIRA)" <ji...@apache.org> on 2011/12/27 06:32:30 UTC

[jira] [Updated] (ZOOKEEPER-1326) The CLI commands "delete" and "rmr" are confusing. Can we have "rm" + "rmr" instead?

     [ 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