[PATCH] Fix long options
[blktrace.git] / blkparse.c
index d81e2786c15677c1fd27b6a9b7e648a25e145385..7e3f0fad2ef75cb369c748c71cbca2174d404cfb 100644 (file)
@@ -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'