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

Accept multiple --verbose options in mongo

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 4.0.2
    • Component/s: None
    • Labels:
      None

      speed% ~/apps/exp/mongo/mongo --verbose --verbose
      Error parsing command line:  Multiple occurrences of option "--verbose"
      try '/home/w/apps/exp/mongo/mongo --help' for more information
      
      speed% ~/apps/exp/mongo/mongo --version
      MongoDB shell version v4.0.2
      git version: fc1573ba18aee42f97a3bb13b67af7d837826b47
      OpenSSL version: OpenSSL 1.0.2o  27 Mar 2018
      allocator: tcmalloc
      modules: none
      build environment:
          distarch: x86_64
          target_arch: x86_64
      

      I imagine it is harmless to give --verbose more than once, hence the tool should probably accept that.

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

              Created:
              Updated:
              Resolved: