From f815d069b86c53138af29e74b9d35d68fcf78583 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 4 Nov 2016 08:26:05 -0400 Subject: [PATCH] shell: move documentation out of kernel The shell is not a kernel feature, it is more of a subsystem. Change-Id: Iaba60b2086ddfe77af427d70b8fc8d06a8bebe14 Signed-off-by: Anas Nashif --- doc/kernel/common/common.rst | 1 - doc/{kernel/common/common_shell.rst => subsystems/shell.rst} | 0 doc/subsystems/subsystems.rst | 3 ++- drivers/console/console_handler_shell.c | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) rename doc/{kernel/common/common_shell.rst => subsystems/shell.rst} (100%) diff --git a/doc/kernel/common/common.rst b/doc/kernel/common/common.rst index 4252cd1d173..eca435ae564 100644 --- a/doc/kernel/common/common.rst +++ b/doc/kernel/common/common.rst @@ -13,4 +13,3 @@ microkernel applications and nanokernel applications. common_kernel_clocks.rst common_atomic.rst common_float.rst - common_shell.rst \ No newline at end of file diff --git a/doc/kernel/common/common_shell.rst b/doc/subsystems/shell.rst similarity index 100% rename from doc/kernel/common/common_shell.rst rename to doc/subsystems/shell.rst diff --git a/doc/subsystems/subsystems.rst b/doc/subsystems/subsystems.rst index 66168e241ce..6bcde680cf9 100644 --- a/doc/subsystems/subsystems.rst +++ b/doc/subsystems/subsystems.rst @@ -13,4 +13,5 @@ to applications. bluetooth/bluetooth.rst usb/usb.rst sensor - power_management.rst \ No newline at end of file + power_management.rst + shell diff --git a/drivers/console/console_handler_shell.c b/drivers/console/console_handler_shell.c index bbf0ad73947..60208d4ddce 100644 --- a/drivers/console/console_handler_shell.c +++ b/drivers/console/console_handler_shell.c @@ -240,6 +240,7 @@ static int show_help(int argc, char *argv[]) for (module = 0; module < NUM_OF_SHELL_ENTITIES; module++) { printk("%s\n", __shell_cmd_start[module].module_name); } + printk("\nTo select a module, enter 'set_module '.\n"); } return 0;