[SERVER-37533] Accept multiple --verbose options in mongo Created: 09/Oct/18  Updated: 15/Oct/18  Resolved: 15/Oct/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.0.2
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Oleg Pudeyev (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

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.


Generated at Thu Feb 08 04:46:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.