zephyr/subsys/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
..
modules shell: kernel: list configured devices 2018-10-18 10:15:50 -04:00
CMakeLists.txt shell: Enable backends via Kconfig file 2018-10-05 10:04:44 +02:00
Kconfig shell: Enable backends via Kconfig file 2018-10-05 10:04:44 +02:00
Kconfig.backends shell: Enable backends via Kconfig file 2018-10-05 10:04:44 +02:00
legacy_shell.c
shell.c shell: commands help unification 2018-10-19 13:35:56 +02:00
shell_cmds.c shell: commands help unification 2018-10-19 13:35:56 +02:00
shell_fprintf.c shell: parsing output LF character 2018-10-10 10:45:28 +02:00
shell_history.c shell: Add shell history feature 2018-09-19 09:30:29 -04:00
shell_log_backend.c logging: Add option to suppress timestamp printing in log_output 2018-09-26 15:01:38 +02:00
shell_ops.c subsys : shell : Added API changing prompt 2018-09-24 13:17:24 +02:00
shell_ops.h shell: Shell subsystem reimplementation 2018-09-19 09:30:29 -04:00
shell_service.c
shell_uart.c shell: create instances automatically basing on enabled backend 2018-10-11 12:08:04 +02:00
shell_utils.c shell: Shell subsystem reimplementation 2018-09-19 09:30:29 -04:00
shell_utils.h shell: Shell subsystem reimplementation 2018-09-19 09:30:29 -04:00
shell_vt100.h shell: Shell subsystem reimplementation 2018-09-19 09:30:29 -04:00
shell_wildcard.c shell : assert standardization 2018-09-25 10:31:13 +02:00
shell_wildcard.h shell: Add wildcard support 2018-09-19 09:30:29 -04:00