Don't include default values in option descriptions since they are echoed by default

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.2.1, 4.3.1
    • Affects Version/s: 3.4.9
    • Component/s: All Tools

      Some tool options include default values in their descriptions which are also echoed by default, leading to duplication and possible confusion.

      For example:

      $ mongoexport --help | grep -i default
            --gssapiServiceName=<service-name>          service name to use when authenticating using GSSAPI/Kerberos ('mongodb' by default)
            --gssapiHostName=<host-name>                hostname to use when authenticating using GSSAPI/Kerberos (remote server's address by default)
            --type=<type>                               the output format, either json or csv (defaults to 'json') (default: json)
        -k, --slaveOk                                   allow secondary reads if available (default true) (default: false)
            --assertExists                              if specified, export fails if the collection does not exist (default: false)
      

              Assignee:
              Tim Fogarty
              Reporter:
              Stennie Steneker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: