|
|
@ -16,7 +16,10 @@ struct cmd_results *cmd_input(int argc, char **argv) {
|
|
|
|
return cmd_results_new(CMD_BLOCK_INPUT, NULL, NULL);
|
|
|
|
return cmd_results_new(CMD_BLOCK_INPUT, NULL, NULL);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (argc > 2) {
|
|
|
|
if ((error = checkarg(argc, "input", EXPECTED_AT_LEAST, 3))) {
|
|
|
|
|
|
|
|
return error;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int argc_new = argc-2;
|
|
|
|
int argc_new = argc-2;
|
|
|
|
char **argv_new = argv+2;
|
|
|
|
char **argv_new = argv+2;
|
|
|
|
|
|
|
|
|
|
|
@ -60,6 +63,3 @@ struct cmd_results *cmd_input(int argc, char **argv) {
|
|
|
|
current_input_config = NULL;
|
|
|
|
current_input_config = NULL;
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return cmd_results_new(CMD_BLOCK_INPUT, NULL, NULL);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|