Wenchao Hao 40501586c7 iscsi-inq: handle setting of debug_level correctly
According to the man page and help info, --debug=integer can specify the
debug_level, while it would report following error:

iscsi-inq --debug=2
iscsi-inq: option '--debug' doesn't allow an argument

It's because the iscsi-inq code did not handle this parameters
correctly. So here we just correct it.

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 16b3557855b1a2300786519ec5623d02f59ecc9a)
2022-06-10 17:32:58 +08:00
2020-07-29 17:16:35 +08:00
Description
No description provided
632 KiB
Languages
Diff 100%