[PATCH] Add 'description' option
[fio.git] / init.c
diff --git a/init.c b/init.c
index 365a8b2cc0a97651eaf5cad0fd6e7f5db089d43f..32e22dbe87470360b62b31220be87ccaad5b8f3a 100644 (file)
--- a/init.c
+++ b/init.c
@@ -41,6 +41,12 @@ static int str_cpumask_cb(void *, unsigned int *);
  * Map of job/command line options
  */
 static struct fio_option options[] = {
+       {
+               .name   = "description",
+               .type   = FIO_OPT_STR_STORE,
+               .off1   = td_var_offset(description),
+               .help   = "Text job description",
+       },
        {
                .name   = "name",
                .type   = FIO_OPT_STR_STORE,