register the prefix first with a default handler (eg. open options, or show help)
then commands. commands are mapped to the handler.
the most granular match command is invoked.
Register command "reset"
Register command "reset all"
then /ecm reset all 5 is called, the first handler will be invoked even though it was registered second.