From 2e77841b9bc7f99ffd1caa2c2c84af2a66731658 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 16 Jun 2006 10:00:50 +0200 Subject: [PATCH] [PATCH] Remove redundant -f job option It just confuses the job file setup. --- README | 1 - init.c | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/README b/README index 4ed60786..7cd6bbc0 100644 --- a/README +++ b/README @@ -46,7 +46,6 @@ $ fio -t Runtime in seconds -l Generate per-job latency logs -w Generate per-job bandwidth logs - -f Read for job descriptions -o Log output to file -m Minimal (terse) output -h Print help info diff --git a/init.c b/init.c index 2df509b2..ced9d859 100644 --- a/init.c +++ b/init.c @@ -1033,18 +1033,12 @@ static int parse_cmd_line(int argc, char *argv[]) { int c, idx = 1, ini_idx = 0; - while ((c = getopt(argc, argv, "t:o:f:lwvhm")) != EOF) { + while ((c = getopt(argc, argv, "t:o:lwvhm")) != EOF) { switch (c) { case 't': def_timeout = atoi(optarg); idx++; break; - case 'f': - ini_idx++; - ini_file = realloc(ini_file, ini_idx * sizeof(char *)); - ini_file[ini_idx - 1] = strdup(optarg); - idx++; - break; case 'l': write_lat_log = 1; idx++; -- 2.25.1