Details
-
Improvement
-
Resolution: Duplicate
-
Trivial - P5
-
None
-
None
-
Any
Description
Currently, the `edit` command does not allow the following:
- Opening an empty "command" (i.e., just typing `edit`)
- Opening strings that may look like a JavaScript variable, but are not.
- Strings that do not contain spaces or are not quoted.
Works: edit "asd"
Works: edit asd asd
Does not work: edit asd
Does not work: edit asd_asd
Since edit is being used as a connection from Mongo to $EDITOR, this functionality should be enabled.
Attachments
Issue Links
- duplicates
-
SERVER-6325 using the `edit` command on undeclared variables could benefit from an error message
-
- Closed
-
- is related to
-
SERVER-5134 Allow "edit" feature to create new variables
-
- Closed
-