Minor - P4
Two things have been causing little frustration to some users regarding the following "mongorestore" warning message:
the --db and --collection args should only be used when restoring from a BSON file. Other uses are deprecated and will not exist in the future; use --nsInclude instead
- Some users have been confused by the warning after using "mongorestore" with the "–db" option. The confusion comes from the first sentence because they were actually restoring from BSON files. Could we remove this sentence: the --db and --collection args should only be used when restoring from a BSON file?
- The warning message could be more precise if a user is trying to rename a database. As this comment reports, they are trying to rename a db but the warning is misleading because it tells them to use "—nsinclude" when they should be told to use "—nsInclude", "—nsFrom" and "—nsTo" in order to rename a database.
Warning message also reported on Stackoverflow