[ 
https://issues.apache.org/jira/browse/APEXCORE-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572630#comment-15572630
 ] 

Sanjay M Pujare commented on APEXCORE-559:
------------------------------------------

bash is a Linux/Unix command line shell and emulates the original Unix sh . It 
probably wants to limit the reserved words as shell commands so I can 
understand why they don't support quit. But most application level CLIs support 
quit and I was surprised to notice Apex CLI doesn't. BTW, "quit" and "exit" can 
have different semantics and I am okay to keep that difference if it applies 
here. For example, "quit" means abort whatever is going on and just quit 
whereas "exit" is allowed only if the system is quiescent.

> Support quit which should behave the same as "exit"
> ---------------------------------------------------
>
>                 Key: APEXCORE-559
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-559
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Sanjay M Pujare
>            Priority: Trivial
>
> Most CLIs accept both quit and exit and we should enhance the Apex CLI to 
> accept "quit" which should have the same semantics as "exit".
> apex> quit
> Invalid command 'quit'. Type "help" for list of commands



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to