Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38913

Shell: Make `quit` an alias for `exit`

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Server Security

      Currently, if a user types `quit` into the shell, they are presented with this response:

      > quit
      function quit() {
          [native code]
      }
      

      Which is unhelpful, to say the least.  Of course, humans are clever and will try `exit` next and succeed.  Might even try calling quit() like a function and succeed that way too.  However, why not save that extra step and accept `quit` as a bare command helper?

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: