Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1379

'printwatches, redo, history and connect '. client commands always print usage. This is not necessary

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: java client
    • Labels:
      None

      Description

      while executing the commands:
      'printwatches, redo, history and connect usage is getting print
      .basically we are printing usage if user has entered the command
      wrong but in these commands case every time usage is getting print.
      eg

      [zk: localhost:2181(CONNECTED) 0] printwatches
      printwatches is on
      ZooKeeper -server host:port cmd args
      	connect host:port
      	get path [watch]
      	ls path [watch]
      	set path data [version]
      	delquota [-n|-b] path
      	quit 
      	printwatches on|off
      	create [-s] [-e] path data acl
      	stat path [watch]
      	close 
      	ls2 path [watch]
      	history 
      	listquota path
      	setAcl path acl
      	getAcl path
      	sync path
      	redo cmdno
      	addauth scheme auth
      	delete path [version]
      	setquota -n|-b val path
      

        Attachments

        1. ZOOKEEPER-1379.4.patch
          2 kB
          Edward Ribeiro
        2. ZOOKEEPER-1379.branch-3.4.patch
          2 kB
          Edward Ribeiro
        3. ZOOKEEPER-1379.3.patch
          5 kB
          Edward Ribeiro
        4. ZOOKEEPER-1379.2.patch
          5 kB
          Edward Ribeiro
        5. ZOOKEEPER-1379.patch
          0.8 kB
          Edward Ribeiro

          Activity

            People

            • Assignee:
              eribeiro Edward Ribeiro
              Reporter:
              kavita sharma kavita sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: