zephyr/include/shell
Jakub Rzeszutko a88d5d7e4f shell: commands help unification
1. Changed return value of function: shell_cmd_precheck from bool to
int. Now it returns:
  0       when argument count is correct and help print is not requested
  1       when help was requested and printed
  -EINVAL on wrong arguments count
This change simply shell_cmd_precheck usege in command handlers.

2. Unified all commands in shell_cmd.c file.

3. Fixed a bug where help was not printed on wrong argument count.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2018-10-19 13:35:56 +02:00
..
legacy_shell.h
shell_fprintf.h shell: parsing output LF character 2018-10-10 10:45:28 +02:00
shell_history.h shell: Add shell history feature 2018-09-19 09:30:29 -04:00
shell_log_backend.h logging: Add autostart option to LOG_BACKEND_DEFINE 2018-10-11 13:29:50 +03:00
shell_types.h
shell_uart.h
shell.h shell: commands help unification 2018-10-19 13:35:56 +02:00