[riot-notifications] [RIOT] shell: refactor default shell command handling (#300)

kaspar030 notifications at github.com
Mon Nov 4 17:08:31 CET 2013


before, we actually duplicated code for handling of shell commands
supplied to shell_init and those hardcoded by MODULE_SHELL_COMMANDS.

This patch refactors shell.c find_handler and print_help so there's
no duplicated code.
You can merge this Pull Request by running:

  git pull https://github.com/kaspar030/RIOT shell_refactor

Or you can view, comment on it, or merge it online at:

  https://github.com/RIOT-OS/RIOT/pull/300

-- Commit Summary --

  * shell: refactor default shell command handling

-- File Changes --

    M sys/shell/shell.c (69)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/300.patch
https://github.com/RIOT-OS/RIOT/pull/300.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131104/4a5e258f/attachment.html>


More information about the notifications mailing list