Default command tree bits.

This commit is contained in:
Your Name
2026-06-30 15:33:37 +01:00
parent 9569c57fc3
commit eb2e26f4cd
2 changed files with 14 additions and 30 deletions

View File

@@ -763,6 +763,8 @@ cmd_parse_from_arguments(struct args_value *values, u_int count)
case ARGS_COMMANDS:
child = cmd_parse_new_commands_node(values[i].cmd, 0);
break;
default:
fatalx("unknown argument type");
}
TAILQ_INSERT_TAIL(&cmd->children, child, entry);
}