[riot-commits] [RIOT-OS/RIOT] 3be2a3: shell: refactor default shell command handling

LudwigOrtmann ludwig.ortmann at fu-berlin.de
Tue Dec 3 13:45:00 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 3be2a3227aed3e319d88a526f4f35d84a83aeb57
      https://github.com/RIOT-OS/RIOT/commit/3be2a3227aed3e319d88a526f4f35d84a83aeb57
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M sys/shell/shell.c

  Log Message:
  -----------
  shell: refactor default shell command handling

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.


  Commit: 6634c56830cf607e09586f544b914f72073eac05
      https://github.com/RIOT-OS/RIOT/commit/6634c56830cf607e09586f544b914f72073eac05
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2013-12-02 (Mon, 02 Dec 2013)

  Changed paths:
    M sys/shell/shell.c

  Log Message:
  -----------
  shell: fix compile warning and add some comments


  Commit: 1442170d4111e47a053d3b78c3b237ddd01e486d
      https://github.com/RIOT-OS/RIOT/commit/1442170d4111e47a053d3b78c3b237ddd01e486d
  Author: LudwigOrtmann <ludwig.ortmann at fu-berlin.de>
  Date:   2013-12-03 (Tue, 03 Dec 2013)

  Changed paths:
    M sys/shell/shell.c

  Log Message:
  -----------
  Merge pull request #300 from kaspar030/shell_refactor

shell: refactor default shell command handling


Compare: https://github.com/RIOT-OS/RIOT/compare/ff12887eaebf...1442170d4111


More information about the commits mailing list