gfio: improve option edit
[fio.git] / profiles / tiobench.c
index 517d9377b8083dedda0780c015bfe0d2edfb2a54..5ab602af75e5c4c4db67fa1aa1fa983f49e70c8e 100644 (file)
@@ -23,39 +23,44 @@ static const char *tb_opts[] = {
 static struct fio_option options[] = {
        {
                .name   = "size",
+               .lname  = "Tiobench size",
                .type   = FIO_OPT_STR_VAL,
                .roff1  = &size,
                .help   = "Size in MB",
-               .category = FIO_OPT_G_IO,
+               .category = FIO_OPT_C_IO,
        },
        {
                .name   = "block",
+               .lname  = "Tiobench block",
                .type   = FIO_OPT_INT,
                .roff1  = &bs,
                .help   = "Block size in bytes",
                .def    = "4k",
-               .category = FIO_OPT_G_IO,
+               .category = FIO_OPT_C_IO,
        },
        {
                .name   = "numruns",
+               .lname  = "Tiobench numruns",
                .type   = FIO_OPT_INT,
                .roff1  = &loops,
                .help   = "Number of runs",
-               .category = FIO_OPT_G_JOB,
+               .category = FIO_OPT_C_GENERAL,
        },
        {
                .name   = "dir",
+               .lname  = "Tiobench directory",
                .type   = FIO_OPT_STR_STORE,
                .roff1  = &dir,
                .help   = "Test directory",
-               .category = FIO_OPT_G_FILE,
+               .category = FIO_OPT_C_FILE,
        },
        {
                .name   = "threads",
+               .lname  = "Tiobench threads",
                .type   = FIO_OPT_INT,
                .roff1  = &nthreads,
                .help   = "Number of Threads",
-               .category = FIO_OPT_G_JOB,
+               .category = FIO_OPT_C_GENERAL,
        },
        {
                .name   = NULL,