Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
2.8.0-rc1
-
None
Description
The tools should error out if a users specifies more than one of the same option. For example:
mongo-tools$ mongofiles -h this-host-does-not-exist -h localhost put vendor.sh
|
2014-11-24T16:53:17.159-0500 connected to: localhost
|
|
|
added file: vendor.sh
|
With the current behavior, the tools only use the last option value passed in.
This is a regression from 2.6
mongo-tools$ mongofiles -h this-host-does-not-exist -h localhost put vendor.sh
|
Error parsing command line: Multiple occurrences of option "--host"
|
try 'mongofiles --help' for more information
|