.name = "thinktime_spin",
.type = FIO_OPT_INT,
.off1 = td_var_offset(thinktime_spin),
- .help = "Start thinktime by spinning this amount (usec)",
+ .help = "Start think time by spinning this amount (usec)",
.def = "0",
},
{
},
{
.name = "cmdhelp",
- .has_arg = required_argument,
+ .has_arg = optional_argument,
.val = 'c',
},
{
static int def_timeout = 0;
-static char fio_version_string[] = "fio 1.12";
+static char fio_version_string[] = "fio 1.13";
static char **ini_file;
static int max_jobs = MAX_JOBS;
struct thread_data *td = NULL;
int c, ini_idx = 0, lidx, ret, dont_add_job = 0;
- while ((c = getopt_long(argc, argv, "", long_options, &lidx)) != -1) {
+ while ((c = getopt_long_only(argc, argv, "", long_options, &lidx)) != -1) {
switch (c) {
case 't':
def_timeout = atoi(optarg);