Issue Bug Closed

#37238Exit cli with a list of valid keys if no key is given

Christian Kuhn 05/16/12, 22:18 updated 10/23/17, 22:15

Description

Currently the cli_dispatch.phpsh exits with a generic error message that a cliKey must be given to run the script if no key is given. If a key is given, but it is no registered cli script, the dispatcher exits with a list of valid keys.

The patch removes the first test to also show the list of valid keys if there is no key at all and adapts the error message a bit.

Reviews 1