nrfiles vs nr_files mixups
authorJens Axboe <jaxboe@fusionio.com>
Thu, 25 Nov 2010 07:21:39 +0000 (08:21 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 25 Nov 2010 07:21:39 +0000 (08:21 +0100)
The man page references nr_files, the real option is nrfiles.
Change man page and add nr_files alias to nrfiles.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fio.1
options.c

diff --git a/fio.1 b/fio.1
index f01bf3a4faa9ef4a50aeb80dac3658c545eb356c..b0276c4cfb17f7b5cc33daa30e23a324d9a1b5c8 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -226,7 +226,7 @@ are likely to be issued. Default: true.
 .BI size \fR=\fPint
 Total size of I/O for this job.  \fBfio\fR will run until this many bytes have
 been transfered, unless limited by other options (\fBruntime\fR, for instance).
-Unless \fBnr_files\fR and \fBfilesize\fR options are given, this amount will be
+Unless \fBnrfiles\fR and \fBfilesize\fR options are given, this amount will be
 divided between the available files for the job. If not set, fio will use the
 full size of the given files or devices. If the the files do not exist, size
 must be given.
index d111018820603fe0e3a578524872343929411ce8..a08e2e433c51b50ec74a86b1b148056f697e81d2 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1121,6 +1121,7 @@ static struct fio_option options[FIO_MAX_OPTS] = {
        },
        {
                .name   = "nrfiles",
+               .alias  = "nr_files",
                .type   = FIO_OPT_INT,
                .off1   = td_var_offset(nr_files),
                .help   = "Split job workload between this number of files",