Lines Matching full:syntax

84  * returned commands: entry->syntax are sorted in alphabetical order.
86 * write to entry->syntax NULL value. This will indicate to the shell
173 const char *syntax; /*!< Command syntax strings. */ member
185 * @note Each root command shall have unique syntax. If a command will be called
189 * @param[in] syntax Command syntax (for example: history).
196 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument
198 static const struct shell_static_entry UTIL_CAT(_shell_, syntax) = \
199 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \
201 UTIL_CAT(shell_cmd_, syntax), shell_root_cmds, \
202 UTIL_CAT(shell_cmd_, syntax) \
204 .entry = &UTIL_CAT(_shell_, syntax) \
220 * @param[in] syntax Command syntax (for example: history).
227 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument
232 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \
236 static shell_cmd_handler dummy_##syntax##_handler __unused = \
238 static const union shell_cmd_entry *dummy_subcmd_##syntax \
248 * @param[in] syntax Command syntax (for example: history).
253 #define SHELL_CMD_REGISTER(syntax, subcmd, help, handler) \ argument
254 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, 0, 0)
264 * @param[in] syntax Command syntax (for example: history).
269 #define SHELL_COND_CMD_REGISTER(flag, syntax, subcmd, help, handler) \ argument
270 SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, 0, 0)
329 * commands, names of all parent commands and own syntax. Number of parent commands
336 * @param[in] _syntax Command syntax (for example: history).
353 (static shell_cmd_handler dummy_##syntax##_handler __unused = _handler;\
354 static const union shell_cmd_entry dummy_subcmd_##syntax __unused = { \
365 * @param[in] _syntax Command syntax (for example: history).
400 * @param[in] syntax Command syntax (for example: history).
407 #define SHELL_CMD_ARG(syntax, subcmd, help, handler, mand, opt) \ argument
408 SHELL_EXPR_CMD_ARG(1, syntax, subcmd, help, handler, mand, opt)
422 * @param[in] syntax Command syntax (for example: history).
429 #define SHELL_COND_CMD_ARG(flag, syntax, subcmd, help, handler, mand, opt) \ argument
430 SHELL_EXPR_CMD_ARG(IS_ENABLED(flag), syntax, subcmd, help, \
445 * @param[in] _syntax Command syntax (for example: history).
455 .syntax = (_expr) ? (const char *)STRINGIFY(_syntax) : "", \
466 * @param[in] _syntax Command syntax (for example: history).
481 * @param[in] _syntax Command syntax (for example: history).
497 * @param[in] _syntax Command syntax (for example: history).
527 * data. The idea is to use the string as a command syntax that can be prompted
543 * shell_print(sh, "(syntax, value) : (%s, %d)", argv[0], val);
718 uint32_t use_colors :1; /*!< Controls colored syntax */
1188 * syntax.