shell: documentation update

1. Update shell documentation according to proposals in
PR #12437 (Extend shell meta keys).
2. Fix lines exceeding 80 characters limit.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
Jakub Rzeszutko 2019-01-17 07:39:16 +01:00 committed by Anas Nashif
commit f2c03280f2
2 changed files with 23 additions and 14 deletions

View file

@ -278,6 +278,13 @@ static int cmd_help(const struct shell *shell, size_t argc, char **argv)
" all commands or its subcommands.\n"
"You can try to call commands with <-h> or <--help> parameter"
" for more information.");
#if CONFIG_SHELL_METAKEYS
shell_print(shell,
"Shell supports following meta-keys:\n"
"Ctrl+a, Ctrl+b, Ctrl+c, Ctrl+d, Ctrl+e, Ctrl+f, Ctrl+k,"
" Ctrl+l, Ctrl+u, Ctrl+w\nAlt+b, Alt+f.\nPlease refer to"
" shell documentation for more details.");
#endif
return 0;
}