[SERVER-38913] Shell: Make `quit` an alias for `exit` Created: 09/Jan/19  Updated: 06/Dec/22  Resolved: 14/Jan/19

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Sara Golemon Assignee: Backlog - Security Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Participants:

 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?



 Comments   
Comment by Eric Milkie [ 09/Jan/19 ]

See SERVER-5399 and SERVER-17167.

Generated at Thu Feb 08 04:50:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.