From 49d1f87d17d6263e7205754d723e10893dd04754 Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Thu, 7 Feb 2013 11:14:11 -0800 Subject: [PATCH] Clean up comment and usage message parent df665e940aba51dbc6b1e7040bda476d66b6584f (1.7.0-237-gdf665e9) commit 93fd84ab52bc56f889dbd7970345d205ce03f958 Author: Lee Duncan Date: Wed Feb 6 13:41:39 2013 -0800 Clean up comment and usage message --- test-tool/iscsi-test-cu.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test-tool/iscsi-test-cu.c b/test-tool/iscsi-test-cu.c index b8ea98b..4815ae3 100644 --- a/test-tool/iscsi-test-cu.c +++ b/test-tool/iscsi-test-cu.c @@ -49,7 +49,10 @@ int loglevel = LOG_SILENT; -/* XXX what is this for? */ +/* + * this allows us to redefine how PDU are queued, at times, for + * testing purposes + */ int (*real_iscsi_queue_pdu)(struct iscsi_context *iscsi, struct iscsi_pdu *pdu); /***************************************************************** @@ -281,7 +284,7 @@ print_usage(void) fprintf(stderr, " -l|--list List all tests and exit\n"); fprintf(stderr, - " -X|--dataloss Allow destructive tests\n"); + " -d|--dataloss Allow destructive tests\n"); fprintf(stderr, " -g|--ignore Error Action: Ignore test errors [DEFAULT]\n"); fprintf(stderr, @@ -294,6 +297,8 @@ print_usage(void) " -n|--normal Test Mode: Normal\n"); fprintf(stderr, " -v|--verbose Test Mode: Verbose [DEFAULT]\n"); + fprintf(stderr, + "-V|--Verbose-scsi Enable verbose SCSI logging [default SILENT]\n"); fprintf(stderr, "\n"); fprintf(stderr, "Where iSCSI URL format is: %s\n", ISCSI_URL_SYNTAX);