zephyr/subsys/shell
Johan Hedberg b26ca13672 shell: Fix command completion logic
The original code (introduced by commit d5db35204a) looked like this
before the last rewrite/cleanup:

       if (default_module != -1) {
               return (str == NULL) ? dest : -1;
       }

However with the cleanup the logic seems to have gotten reversed.

Fixes #8501

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-06-22 15:09:18 -04:00
..
modules subsys: shell: Remove deprcated k_call_stacks_analyze API 2018-05-15 13:43:00 +03:00
CMakeLists.txt cmake: Use path-corrected version of ZEPHYR_BASE 2018-01-11 14:59:03 -05:00
Kconfig subsys: console: Factor out fifo-based console input abstraction 2018-06-20 15:59:12 -04:00
shell.c shell: Fix command completion logic 2018-06-22 15:09:18 -04:00
shell_service.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00