Lines Matching refs:active_cmd
68 z_shell_help_cmd_print(sh, &sh->ctx->active_cmd); in shell_internal_help_print()
69 z_shell_help_subcmd_print(sh, &sh->ctx->active_cmd, in shell_internal_help_print()
89 sh->ctx->active_cmd.syntax); in cmd_precheck()
372 match = z_shell_cmd_get(cmd, subcmd_idx, &sh->ctx->active_cmd); in autocomplete()
445 match = z_shell_cmd_get(cmd, idx, &sh->ctx->active_cmd); in tab_options_print()
526 if (sh->ctx->active_cmd.handler == NULL) { in exec_cmd()
531 if (help_entry->help != sh->ctx->active_cmd.help) { in exec_cmd()
532 sh->ctx->active_cmd = *help_entry; in exec_cmd()
545 if (sh->ctx->active_cmd.args.mandatory) { in exec_cmd()
546 uint32_t mand = sh->ctx->active_cmd.args.mandatory; in exec_cmd()
547 uint8_t opt8 = sh->ctx->active_cmd.args.optional; in exec_cmd()
566 ret_val = sh->ctx->active_cmd.handler(sh, argc, in exec_cmd()
577 struct shell_static_entry *active_cmd, in active_cmd_prepare() argument
584 *active_cmd = *entry; in active_cmd_prepare()
653 memset(&sh->ctx->active_cmd, 0, sizeof(sh->ctx->active_cmd)); in execute()
670 active_cmd_prepare(parent, &sh->ctx->active_cmd, &help_entry, in execute()
698 sh->ctx->active_cmd = help_entry; in execute()
744 active_cmd_prepare(entry, &sh->ctx->active_cmd, in execute()