From b2cecdc28469f8042d6cc3d83d83b18086845f18 Mon Sep 17 00:00:00 2001 From: liang xie Date: Fri, 31 Aug 2012 08:22:42 -0700 Subject: [PATCH] fio:modify a deprecated parameter(change timeout to runtime) since "timeout" had been deprecated long long ago, we should replace to "runtime" both in code and docs Signed-off-by: Liang Xie Signed-off-by: Jens Axboe --- README | 2 +- fio.1 | 4 ++-- init.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README b/README index 8514c732..c629e2db 100644 --- a/README +++ b/README @@ -121,7 +121,7 @@ Command line $ fio --debug Enable some debugging options (see below) --output Write output to file - --timeout Runtime in seconds + --runtime Runtime in seconds --latency-log Generate per-job latency logs --bandwidth-log Generate per-job bandwidth logs --minimal Minimal (terse) output diff --git a/fio.1 b/fio.1 index 5b61e438..086cf9d0 100644 --- a/fio.1 +++ b/fio.1 @@ -20,8 +20,8 @@ list all available tracing options. .BI \-\-output \fR=\fPfilename Write output to \fIfilename\fR. .TP -.BI \-\-timeout \fR=\fPtimeout -Limit run time to \fItimeout\fR seconds. +.BI \-\-runtime \fR=\fPruntime +Limit run time to \fIruntime\fR seconds. .TP .B \-\-latency\-log Generate per-job latency logs. diff --git a/init.c b/init.c index 824828cf..9f597a95 100644 --- a/init.c +++ b/init.c @@ -1185,7 +1185,7 @@ static void usage(const char *name) "\t\t\tprocess,file,io,mem,blktrace,verify,random,parse,\n" "\t\t\tdiskutil,job,mutex,profile,time,net\n"); printf(" --output\t\tWrite output to file\n"); - printf(" --timeout\t\tRuntime in seconds\n"); + printf(" --runtime\t\tRuntime in seconds\n"); printf(" --latency-log\t\tGenerate per-job latency logs\n"); printf(" --bandwidth-log\tGenerate per-job bandwidth logs\n"); printf(" --minimal\t\tMinimal (terse) output\n"); -- 2.25.1