Commit: a62f013cd08d25fd252d7a148d1fb4c462d9d7ac
Parent: 17c8980ad31c6c77c35124cf8d9e3a3c3c8c732a
Author: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-02-06 14:00:05
Tree: 612e84cfbe4a222b8046c04a1b1371d35c7dfc62

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.

Diffstat

M src/shared/shell.c | 17 +++++++++++++++- -

1 files changed, 15 insertions(+), 2 deletions(-)

View Full Diff | Patch