Description
When running mongoimport without any options it seems to default to the "" collection (since the file is not validated) and reading input from stdin instead of showing help.
Just for fun, I typed in a doc as you can see below:
$mongoimport
|
connected to: 127.0.0.1
|
no collection specified!
|
using filename '' as collection.
|
|
{_id:1}
|
2013-12-19T09:09:10.191-0500 error: Invalid ns [test.]
|
|
Attachments
Issue Links
- is related to
-
SERVER-3442 mongoimport should take collection name from filename, like mongorestore
-
- Closed
-