From f6a7df5314e83df9cc408e7bf447afb76bee8454 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 27 Oct 2015 16:25:02 +0900 Subject: [PATCH] Re-instate --append-terse This wasn't well documented, but ensure that we don't people's setup. The new way of doing multiple formats is to add them to the output format. Which means that this: fio --append-terse --output-format=normal is now equivalent to fio --output-format=normal,terse Please use the latter. Signed-off-by: Jens Axboe --- fio.1 | 4 ++++ init.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/fio.1 b/fio.1 index 7634638f..2ba36f91 100644 --- a/fio.1 +++ b/fio.1 @@ -33,6 +33,10 @@ Generate per-job bandwidth logs. .B \-\-minimal Print statistics in a terse, semicolon-delimited format. .TP +.B \-\-append-terse +Print statistics in selected mode AND terse, semicolon-delimited format. +Deprecated, use \-\-output-format instead to select multiple formats. +.TP .B \-\-version Display version information and exit. .TP diff --git a/init.c b/init.c index bb03566f..4f5b7dc0 100644 --- a/init.c +++ b/init.c @@ -116,6 +116,11 @@ static struct option l_opts[FIO_NR_OPTIONS] = { .has_arg = optional_argument, .val = 'F' | FIO_CLIENT_FLAG, }, + { + .name = (char *) "append-terse", + .has_arg = optional_argument, + .val = 'f', + }, { .name = (char *) "version", .has_arg = no_argument, @@ -2100,6 +2105,9 @@ int parse_cmd_line(int argc, char *argv[], int client_type) break; } break; + case 'f': + output_format |= FIO_OUTPUT_TERSE; + break; case 'h': did_arg = 1; if (!cur_client) { -- 2.25.1