From: Jens Axboe Date: Fri, 16 Jun 2006 08:00:50 +0000 (+0200) Subject: [PATCH] Remove redundant -f job option X-Git-Tag: fio-1.6~8 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=2e77841b9bc7f99ffd1caa2c2c84af2a66731658;hp=0c7e37a04aa04ba22e812f8de7971fcef46b8191 [PATCH] Remove redundant -f job option It just confuses the job file setup. --- 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++;