Summary:ASTERISK-07657: cli error -- No such command 'exit'
Reporter:sedwards (sedwards)Labels:
Date Opened:2006-09-01 13:39:35Date Closed:2011-06-07 14:08:13
Versions:Frequency of
Description:If you enter "<space>exit" to the CLI, Asterisk responds with:

       No such command 'exit' (type 'help' for help)

Either it should trim leading whitespace from the command line before parsing (right) or it should include the space in the error message (wrong, but at least not misleading).
Comments:By: Russell Bryant (russell) 2006-09-02 23:40:12

"exit" is not a valid command.  If you do "show channels" or " show channels" (a valid command, or a valid command with a leading space) the behavior is the same.

By: sedwards (sedwards) 2006-09-04 09:21:42

I don't understand.

Why do you say "exit" is not a valid command? How do you to exit the cli?

By: Russell Bryant (russell) 2006-09-04 11:41:07

Please do not use the bug tracker as a support forum.