Description
In the 3.2.0 shell, the version(), quit() and bsonWoCompare() functions no longer tab complete, although they are still present and work fine when executed.
There are other functions that also don't tab complete anymore, but they aren't as user-facing as the above functions.
$ diff -u <(/m/3.0.8/bin/mongo --norc --eval "for(i='_'.charCodeAt(0); i <= 'z'.charCodeAt(0); i++) {shellAutocomplete(String.fromCharCode(i)); __autocomplete__.forEach(function(x) {print(x)}); }") <(/m/3.2.1-rc0/bin/mongo --norc --eval "for(i='_'.charCodeAt(0); i <= 'z'.charCodeAt(0); i++) {shellAutocomplete(String.fromCharCode(i)); __autocomplete__.forEach(function(x) {print(x)}); }") | grep '^-'
|
--- /dev/fd/63 2015-12-29 16:20:21.750340725 +1100
|
-MongoDB shell version: 3.0.8
|
-_scopedThreadInject(
|
-_threadInject(
|
-bsonWoCompare(
|
-DB(
|
-DBCollection(
|
-DBQuery(
|
-DBRef(
|
-MongodRunner(
|
-quit(
|
-ReplSetBridge(
|
-startMongod(
|
-startMongodEmpty(
|
-startMongodNoReset(
|
-startMongodTest(
|
-startMongos(
|
-stopMongoProgram(
|
-stopMongod(
|
-version(
|
Attachments
Issue Links
- related to
-
SERVER-19641 quit() in the shell quickExits from deep in the javascript stack
-
- Closed
-