zephyr/subsys
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
..
app_memory subsys: app_memory: Fixed the size calculation for power of 2 MPUs 2018-09-20 11:25:53 -04:00
bluetooth flash: make flash shell generic 2018-10-19 11:49:18 +02:00
console subsys: console: Split serial tty handling to a separate module 2018-10-03 16:40:49 +02:00
cpp kconfig: Move CPLUSPLUS from root to "Compiler Options" 2018-04-30 13:12:01 -04:00
debug tracing: don't include kernel_structs.h from tracing_sysview.h 2018-10-05 10:37:01 -04:00
dfu dfu: log: rename level variable 2018-10-08 17:49:12 -04:00
disk subsys: disk access: move to new logger 2018-10-16 17:30:09 -04:00
fb subsys: add monochrome character framebuffer 2018-10-16 14:54:47 -04:00
fs subsys: fs: Use template to define CONFIG_FS_LOG_LEVEL 2018-10-15 09:18:03 -04:00
logging subsys: logging: Add CR/LF handling flags 2018-10-18 17:53:11 -04:00
mgmt shell: Rename shell to legacy_shell 2018-09-19 09:30:29 -04:00
net net: gptp: Calculate GM rate ratio properly 2018-10-18 20:35:02 +03:00
power subsys: power: Add an API for force suspending the devices 2018-10-17 22:02:06 -04:00
random subsys: random: xoroshiro128: Use entropy get isr during init 2018-09-05 13:04:20 -04:00
settings cmake: settings: Don't add ext nffs include dir to global includes 2018-07-25 08:27:45 -04:00
shell shell: commands help unification 2018-10-19 13:35:56 +02:00
storage subsys: storage: flash_map: add API for check flash driver support 2018-09-27 16:24:21 +02:00
usb usb: logs: Remove newlines from the logs 2018-10-18 09:45:29 -04:00
CMakeLists.txt subsys: add monochrome character framebuffer 2018-10-16 14:54:47 -04:00
Kconfig subsys: add monochrome character framebuffer 2018-10-16 14:54:47 -04:00