From 3f65c5858b11997e04605386bb160aabe3548ea3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 5 Oct 2005 09:28:20 +0200 Subject: [PATCH] [PATCH] Fix long options Partly from Alan. --- blkparse.c | 8 ++++---- blktrace.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/blkparse.c b/blkparse.c index d81e278..7e3f0fa 100644 --- a/blkparse.c +++ b/blkparse.c @@ -114,13 +114,13 @@ static struct option l_opts[] = { .val = 'b' }, { - .name = "per program stats", + .name = "per-program-stats", .has_arg = no_argument, .flag = NULL, .val = 's' }, { - .name = "track ios", + .name = "track-ios", .has_arg = no_argument, .flag = NULL, .val = 't' @@ -150,7 +150,7 @@ static struct option l_opts[] = { .val = 'F' }, { - .name = "hash by name", + .name = "hash-by-name", .has_arg = no_argument, .flag = NULL, .val = 'n' @@ -168,7 +168,7 @@ static struct option l_opts[] = { .val = 'v' }, { - .name = "input directory", + .name = "input-directory", .has_arg = required_argument, .flag = NULL, .val = 'D' diff --git a/blktrace.c b/blktrace.c index 9aa7b21..8d94cbe 100644 --- a/blktrace.c +++ b/blktrace.c @@ -95,19 +95,19 @@ static struct option l_opts[] = { .val = 'v' }, { - .name = "buffer size (in KiB)", + .name = "buffer-size", .has_arg = required_argument, .flag = NULL, .val = 'b' }, { - .name = "nr of sub buffers", + .name = "num-sub-buffers", .has_arg = required_argument, .flag = NULL, .val = 'n' }, { - .name = "output directory", + .name = "output-dir", .has_arg = required_argument, .flag = NULL, .val = 'D' -- 2.25.1