When iscsiadm is called with "-m fw", the debug flag can be useful.
Signed-off-by: Hannes Reinecke <h...@suse.com> Signed-off-by: Lee Duncan <ldun...@suse.com> --- doc/iscsiadm.8 | 2 +- usr/iscsiadm.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8 index 7c209f6..9e1376d 100644 --- a/doc/iscsiadm.8 +++ b/doc/iscsiadm.8 @@ -14,7 +14,7 @@ iscsiadm \- open-iscsi administration utility \fBiscsiadm\fR \-m iface [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I ifacename | \-H hostno|MAC ] [ [ \-o operation ] [ \-n name ] [ \-v value ] ] [ \-C ping [ \-a ip ] [ \-b packetsize ] [ \-c count ] [ \-i interval ] ] -\fBiscsiadm\fR \-m fw [\-l] +\fBiscsiadm\fR \-m fw [ \-d debug_level ] [\-l] \fBiscsiadm\fR \-m host [ \-P printlevel ] [ \-H hostno|MAC ] [ -C chap [ -o operation ] [ -v chap_tbl_idx ] ] diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c index 8f9de05..c2d531e 100644 --- a/usr/iscsiadm.c +++ b/usr/iscsiadm.c @@ -129,7 +129,7 @@ iscsiadm -m node [ -hV ] [ -d debug_level ] [ -P printlevel ] [ -L all,manual,au [ [ -o operation ] [ -n name ] [ -v value ] ]\n\ iscsiadm -m session [ -hV ] [ -d debug_level ] [ -P printlevel] [ -r sessionid | sysfsdir [ -R | -u | -s ] [ -o operation ] [ -n name ] [ -v value ] ]\n\ iscsiadm -m iface [ -hV ] [ -d debug_level ] [ -P printlevel ] [ -I ifacename | -H hostno|MAC ] [ [ -o operation ] [ -n name ] [ -v value ] ] [ -C ping [ -a ip ] [ -b packetsize ] [ -c count ] [ -i interval ] ]\n\ -iscsiadm -m fw [ -l ]\n\ +iscsiadm -m fw [-d debug_level ] [ -l ]\n\ iscsiadm -m host [ -P printlevel ] [ -H hostno|MAC ] [ -C chap [ -o operation ] [ -v chap_tbl_idx ] ]\n\ iscsiadm -k priority\n"); } @@ -2583,7 +2583,7 @@ main(int argc, char **argv) usage(ISCSI_ERR_INVAL); if (mode == MODE_FW) { - if ((rc = verify_mode_params(argc, argv, "ml", 0))) { + if ((rc = verify_mode_params(argc, argv, "dml", 0))) { log_error("fw mode: option '-%c' is not " "allowed/supported", rc); rc = ISCSI_ERR_INVAL; -- 1.7.10.4 -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.