cmd: ubi: Fix 'ubi list' command arguments parsing
authorDmitry Dunaev <dunaev@tecon.ru>
Wed, 12 Jul 2023 12:58:21 +0000 (15:58 +0300)
committerHeiko Schocher <hs@denx.de>
Tue, 15 Aug 2023 05:32:13 +0000 (07:32 +0200)
commit34031e9cce91de323ed711d7e8614c0d12fada1c
tree5647e4f6dd7ef3236f080a7728a7d70bae504e4c
parent832148f675e427060be074c276956962fa9b5cb6
cmd: ubi: Fix 'ubi list' command arguments parsing

This fixes allowed argc variable value for arguments parsing

Fixes: 6de1daf64b1 ("cmd: ubi: Add 'ubi list' command")
Signed-off-by: Dmitry Dunaev <dunaev@tecon.ru>
cmd/ubi.c