Hi Eramoto, On Mon, Oct 23, 2017 at 11:05 AM, ERAMOTO Masaya <eramoto.masaya@xxxxxxxxxxxxxx> wrote: > In case first running a command on btmgmt, users may need to fail running > a command or run a command with the option --help since the command help > does not display whether or not any argument is needed. > > These patches include to add argument texts to output of the command help. > > ERAMOTO Masaya (8): > tools/btmgmt: Fix inconsistency of usages and options > tools/btmgmt: Fix segfault in interactive mode > tools/btmgmt: Fix segfault with remote-oob --help > tools/btmgmt: Add argument texts to help command > tools/btmgmt: Replace with common usage function > tools/btmgmt: Refactor for functions to parse setting > tools/btmgmt: Change help message of some commands to usage > tools/btmgmt: Use cmd_usage() for select command > > tools/btmgmt.c | 524 ++++++++++++++++++++++++++++++--------------------------- > 1 file changed, 278 insertions(+), 246 deletions(-) > > -- > 2.7.4 I will check the fixes, for the refactoring of the shell-like functions Id really wait for bt_shell so we can make our command line tools behave more consistently. -- Luiz Augusto von Dentz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html