lib/cmdline: Allow get_options() to take 0 to validate the input

Allow get_options() to take 0 as a number of integers parameter to validate
the input.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Andy Shevchenko 2021-01-22 15:56:52 +02:00 • committed by Bartosz Golaszewski
commit 0ea0908311
2 changed files with 21 additions and 4 deletions