getCmdLineOpts also works for mongos