[SERVER-37534] Quad dashes in error message when --verbose is given more than once Created: 09/Oct/18  Updated: 15/Oct/18  Resolved: 15/Oct/18

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

Type: Bug 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% /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.


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