[PATCH] Add per-option help
It's hard to remember all the options that fio supports, so add a
'cmdhelp' option that either prints all possible options (if argument
is 'all'), or specific option help (if argument is the command).
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/README b/README
index bfed0ef..97251d0 100644
--- a/README
+++ b/README
@@ -59,6 +59,8 @@
--bandwidth-log Generate per-job bandwidth logs
--minimal Minimal (terse) output
--version Print version info and exit
+ --help Print this page
+ --cmdhelp=cmd Print command help, "all" for all of them
Any parameters following the options will be assumed to be job files,
unless they match a job file parameter. You can add as many as you want,