commit | a62f013cd08d25fd252d7a148d1fb4c462d9d7ac | [log] [tgz] |
---|---|---|
author | ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com> | Tue Feb 06 14:27:29 2018 +0900 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Tue Feb 06 10:00:05 2018 -0200 |
tree | 612e84cfbe4a222b8046c04a1b1371d35c7dfc62 | |
parent | 17c8980ad31c6c77c35124cf8d9e3a3c3c8c732a [diff] |
shared/shell: Print out help if using invalid command Because Vincent Petry kindly reported that it is hard to use a command in a submenu, clients are changed to print out help messages as below when an invalid command is used. [bluetooth]# list-attributes Invalid command in menu main: list-attributes Use "help" for a list of available commands in a menu. Use "menu <submenu>" if you want to enter any submenu. Use "back" if you want to return to menu main.