Lines Matching full:syntax

90  * returned commands: entry->syntax are sorted in alphabetical order.
92 * write to entry->syntax NULL value. This will indicate to the shell
207 const char *syntax; /*!< Command syntax strings. */ member
219 * @note Each root command shall have unique syntax. If a command will be called
223 * @param[in] syntax Command syntax (for example: history).
230 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument
232 static const struct shell_static_entry UTIL_CAT(_shell_, syntax) = \
233 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \
235 UTIL_CAT(shell_cmd_, syntax), shell_root_cmds, \
236 UTIL_CAT(shell_cmd_, syntax) \
238 .entry = &UTIL_CAT(_shell_, syntax) \
254 * @param[in] syntax Command syntax (for example: history).
261 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument
266 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \
270 static shell_cmd_handler dummy_##syntax##_handler __unused = \
272 static const union shell_cmd_entry *dummy_subcmd_##syntax \
282 * @param[in] syntax Command syntax (for example: history).
287 #define SHELL_CMD_REGISTER(syntax, subcmd, help, handler) \ argument
288 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, 0, 0)
298 * @param[in] syntax Command syntax (for example: history).
303 #define SHELL_COND_CMD_REGISTER(flag, syntax, subcmd, help, handler) \ argument
304 SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, 0, 0)
363 * commands, names of all parent commands and own syntax. Number of parent commands
370 * @param[in] _syntax Command syntax (for example: history).
399 * @param[in] _syntax Command syntax (for example: history).
434 * @param[in] syntax Command syntax (for example: history).
441 #define SHELL_CMD_ARG(syntax, subcmd, help, handler, mand, opt) \ argument
442 SHELL_EXPR_CMD_ARG(1, syntax, subcmd, help, handler, mand, opt)
456 * @param[in] syntax Command syntax (for example: history).
463 #define SHELL_COND_CMD_ARG(flag, syntax, subcmd, help, handler, mand, opt) \ argument
464 SHELL_EXPR_CMD_ARG(IS_ENABLED(flag), syntax, subcmd, help, \
479 * @param[in] _syntax Command syntax (for example: history).
489 .syntax = (_expr) ? (const char *)STRINGIFY(_syntax) : "", \
500 * @param[in] _syntax Command syntax (for example: history).
515 * @param[in] _syntax Command syntax (for example: history).
531 * @param[in] _syntax Command syntax (for example: history).
561 * data. The idea is to use the string as a command syntax that can be prompted
577 * shell_print(sh, "(syntax, value) : (%s, %d)", argv[0], val);
752 uint32_t use_colors :1; /*!< Controls colored syntax */
1235 * syntax.