recovery: improve command registration
- Reduce max arguments to 2 (cmd + 1 argument) - Disable auto-repeat - doing recovery multiple time by enter doesn't makes sense
This commit is contained in:
parent
5cd0f3ede7
commit
623e48a061
|
@ -127,7 +127,7 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
|||
}
|
||||
|
||||
U_BOOT_CMD(
|
||||
run_recovery, CONFIG_SYS_MAXARGS, 1, do_run_recovery,
|
||||
run_recovery, 2, 0, do_run_recovery,
|
||||
"Run the sysmocom sysmoBTS recovery process",
|
||||
"[force]"
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue