Wenchao Hao 22b041d84d 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 7136f3a11ba495f4ffd7089c3ddabb3960056a47)
2022-04-12 16:36:10 +08:00
2020-07-16 15:48:20 +08:00
2020-06-24 15:57:57 +08:00
Description
No description provided
627 KiB
Languages
Diff 100%