Commit 54618088 authored by Paul E. McKenney's avatar Paul E. McKenney

torture: Add kvm.sh --help and update help message

This commit adds a --help argument (along with its synonym -h) to display
the help text.  While in the area, this commit also updates the help text.
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent fc848cf4
...@@ -56,17 +56,18 @@ usage () { ...@@ -56,17 +56,18 @@ usage () {
echo " --defconfig string" echo " --defconfig string"
echo " --dryrun sched|script" echo " --dryrun sched|script"
echo " --duration minutes" echo " --duration minutes"
echo " --help"
echo " --interactive" echo " --interactive"
echo " --jitter N [ maxsleep (us) [ maxspin (us) ] ]" echo " --jitter N [ maxsleep (us) [ maxspin (us) ] ]"
echo " --kconfig Kconfig-options" echo " --kconfig Kconfig-options"
echo " --kmake-arg kernel-make-arguments" echo " --kmake-arg kernel-make-arguments"
echo " --mac nn:nn:nn:nn:nn:nn" echo " --mac nn:nn:nn:nn:nn:nn"
echo " --memory megabytes | nnnG" echo " --memory megabytes|nnnG"
echo " --no-initrd" echo " --no-initrd"
echo " --qemu-args qemu-arguments" echo " --qemu-args qemu-arguments"
echo " --qemu-cmd qemu-system-..." echo " --qemu-cmd qemu-system-..."
echo " --results absolute-pathname" echo " --results absolute-pathname"
echo " --torture rcu" echo " --torture lock|rcu|rcuperf|refscale|scf"
echo " --trust-make" echo " --trust-make"
exit 1 exit 1
} }
...@@ -127,6 +128,9 @@ do ...@@ -127,6 +128,9 @@ do
dur=$(($2*60)) dur=$(($2*60))
shift shift
;; ;;
--help|-h)
usage
;;
--interactive) --interactive)
TORTURE_QEMU_INTERACTIVE=1; export TORTURE_QEMU_INTERACTIVE TORTURE_QEMU_INTERACTIVE=1; export TORTURE_QEMU_INTERACTIVE
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment