From: Ronnie Sahlberg Date: Fri, 25 Sep 2009 23:10:07 +0000 (+1000) Subject: update the usage output to include scsi and iscsi as backends. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=e479d06a4b2adc9be3e438f2354ca574a87352d6;p=sahlberg%2Fdbench.git update the usage output to include scsi and iscsi as backends. Fix a typo. --- diff --git a/dbench.c b/dbench.c index 03538e9..9ec31d5 100644 --- a/dbench.c +++ b/dbench.c @@ -352,7 +352,7 @@ static void process_opts(int argc, const char **argv) struct poptOption popt_options[] = { POPT_AUTOHELP { "backend", 'B', POPT_ARG_STRING, &options.backend, 0, - "dbench backend (fileio, sockio, nfs)", "string" }, + "dbench backend (fileio, sockio, nfs, scsi, iscsi)", "string" }, { "timelimit", 't', POPT_ARG_INT, &options.timelimit, 0, "timelimit", "integer" }, { "loadfile", 'c', POPT_ARG_STRING, &options.loadfile, 0, @@ -408,7 +408,7 @@ static void process_opts(int argc, const char **argv) { "iscsi-target", 0, POPT_ARG_STRING, &options.iscsi_target, 0, "iscsi IQN name of target", NULL }, { "warmup", 0, POPT_ARG_INT, &options.warmup, 0, - "How meny seconds of warmup to run", NULL }, + "How many seconds of warmup to run", NULL }, POPT_TABLEEND }; poptContext pc;