diff options
| author | Pali Rohár <[email protected]> | 2022-03-07 19:03:09 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2022-03-14 14:04:18 +0100 |
| commit | c497ae70238a743cb804f1cb9b95648a6a2bdd51 (patch) | |
| tree | fe468b85fa2272aa747af726c8448c6fa633c338 /include/linux/linux_string.h | |
| parent | 3782f55ae81825c6ce9f85ca4e6c6798e88087c5 (diff) | |
tools: kwboot: Allow to mix positional arguments with option -b
Commit 9e6d71d2b55f ("tools: kwboot: Allow to use -b without image path as
the last getopt() option") broke usage of kwboot with following arguments:
kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl.kwb
Fix parsing of option -b with optional argument again.
Fixes: 9e6d71d2b55f ("tools: kwboot: Allow to use -b without image path as the last getopt() option")
Signed-off-by: Pali Rohár <[email protected]>
Reported-by: Tony Dinh <[email protected]>
Tested-by: Tony Dinh <mibodhi at gmail.com>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
