Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-12934

cbstats error message could be better

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.5.0
    • 2.5.1, 3.0.1
    • couchbase-bucket
    • Security Level: Public
    • None
    • Untriaged
    • Unknown
    • KV: Dec 7 - Dec 25

    Description

      When you run the incorrect command below, the error message could be better:

      cbstats cb1:11211 all bucket password
      Too many args, given ['bucket', 'password'], but expected a maximum of 0
      

      Maybe something like this:

      Too many arguments given was not expecting: ['bucket', 'password']
      

      Then print the usage text again so the user can see the options.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            drigby Dave Rigby (Inactive)
            pvarley Patrick Varley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty