1 /*
2  * Copyright (c) 2018 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef SHELL_HELP_H__
8 #define SHELL_HELP_H__
9 
10 #include <zephyr/shell/shell.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* Function is printing command help string. */
17 void z_shell_help_cmd_print(const struct shell *sh,
18 			    const struct shell_static_entry *cmd);
19 
20 /* Function is printing subcommands and help string. */
21 void z_shell_help_subcmd_print(const struct shell *sh,
22 			       const struct shell_static_entry *cmd,
23 			       const char *description);
24 
25 /* Function returns true if str == -h or --help */
26 bool z_shell_help_request(const char *str);
27 
28 /**
29  * @}
30  */
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif /* SHELL_HELP__ */
37