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

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

    XMLWordPrintable

    Details

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

      Description

      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?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: