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:
Alexander Couzens 2015-03-03 15:03:57 +01:00
parent 5cd0f3ede7
commit 623e48a061
1 changed files with 1 additions and 1 deletions

View File

@ -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]"
);