[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705898#action_12705898
 ] 

Mahadev konar commented on ZOOKEEPER-389:
-----------------------------------------

good to see some help in cli in c. 

the patch introduces a method 

{code}
state2String(int state)
{code}

in cli.c, we already have a method 
{code}
static __attribute__ ((unused)) const char* state2String(int state){
{code}
in zookeeper.c. We can make this non local and use this instead of creating 
another one in cli.c.


> add help/usage to the c shell cli.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-389
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-389
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: c client
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-389.patch
>
>
> The current c shell should have help information (in the shell)
> currently it's hard to know what commands are available

-- 
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