Open autarch opened 2 years ago
If I pass --dbpath foo I'd expect this to be passed through as is.
--dbpath foo
I end up with this:
mlaunch init --single --dbpath mongodb/db_files Detected mongod version: 6.0.2 b'Error parsing command line: Multiple occurrences of option "--dbpath"\ntry \'mongod --help\' for more information\n' can't start process, return code 2. tried to launch: "mongod" --dbpath "/home/autarch/projects/mongo-tools/data/db" --logpath "/home/autarch/projects/mongo-tools/data/mongod.log" --port 27017 --fork --dbpath "mongodb/db_files" --wiredTigerCacheSizeGB 1
As an aside, that "Error parsing command line" bit is also weird.
See above
Expected behavior
If I pass
--dbpath foo
I'd expect this to be passed through as is.Actual/current behavior
I end up with this:
As an aside, that "Error parsing command line" bit is also weird.
Steps to reproduce the actual/current behavior
See above
Environment