-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 0.12.1
-
Component/s: CLI Module
-
3
-
Needed
-
-
Iteration Chicago
Mongosh command line with host or port param plus .js file causes error:
mongosh --host myhost xxx.js
MongoshInvalidInputError: [COMMON-10001] If a full URI is provided, you cannot also specify --host or --port
mongosh --port 12345 xxx.js
MongoshInvalidInputError: [COMMON-10001] If a full URI is provided, you cannot also specify --host or --port
mongosh xxx.js
Current Mongosh Log ID: 60a3c628615f42b8afe92b3a
Connecting to: mongodb://xxx.js:27017/test?directConnection=true