Quad dashes in error message when --verbose is given more than once

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 3.6.7
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      speed% /usr/local/m/versions/3.6.7/bin/mongo --version          
      MongoDB shell version v3.6.7
      git version: 2628472127e9f1826e02c665c1d93880a204075e
      OpenSSL version: OpenSSL 1.1.0h  27 Mar 2018
      allocator: tcmalloc
      modules: none
      build environment:
          distmod: debian92
          distarch: x86_64
          target_arch: x86_64
      
      speed% /usr/local/m/versions/3.6.7/bin/mongo --verbose --verbose
      Error parsing command line:  Multiple occurrences of option "----verbose"
      try '/usr/local/m/versions/3.6.7/bin/mongo --help' for more information
      

      The option is reported as "----verbose" with quad dashes.

      This problem does not exist in 4.0.3.

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: