Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-37534

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 3.6.7
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: