mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-10 07:01:26 +02:00
Merge tag 'ubi-updates-for-v2023.10-rc3' of https://source.denx.de/u-boot/custodians/u-boot-ubi
ubi changes for v2023.10-rc3 Fix: - Fix 'ubi list' command arguments parsing from Dmitry
This commit is contained in:
commit
f0efecd27d
@ -653,7 +653,7 @@ static int do_ubi(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|||||||
|
|
||||||
if (strcmp(argv[1], "list") == 0) {
|
if (strcmp(argv[1], "list") == 0) {
|
||||||
int numeric = 0;
|
int numeric = 0;
|
||||||
if (argc >= 2 && argv[2][0] == '-') {
|
if (argc >= 3 && argv[2][0] == '-') {
|
||||||
if (strcmp(argv[2], "-numeric") == 0)
|
if (strcmp(argv[2], "-numeric") == 0)
|
||||||
numeric = 1;
|
numeric = 1;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user