From 82c14058a0252e953cae3bd2f1fc3fe00746d173 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 29 Feb 2012 15:49:47 +0000 Subject: [PATCH] Cosmetic changes to the help output and man page. --- tools/whenjobs.ml | 4 ++-- tools/whenjobs.pod | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/whenjobs.ml b/tools/whenjobs.ml index bd26545..c792e26 100644 --- a/tools/whenjobs.ml +++ b/tools/whenjobs.ml @@ -88,13 +88,13 @@ let rec main () = "--daemon-restart", Arg.Unit (set_mode `Daemon_restart), " Restart the daemon"; "-e", Arg.Unit (set_mode `Edit), " Edit and upload the script"; "--edit", Arg.Unit (set_mode `Edit), " Edit and upload the script"; - "--get", Arg.Unit (set_mode `Get), " Display the variable"; + "--get", Arg.Unit (set_mode `Get), "var Display the variable"; "--jobs", Arg.Unit (set_mode `Jobs), " List running jobs"; "-l", Arg.Unit (set_mode `List), " List the script"; "--list", Arg.Unit (set_mode `List), " List the script"; "--lib", Arg.Set_string libdir, "dir Specify directory that contains pa_when.cmo"; "--set", Arg.Unit (set_mode `Set), " Set the variable"; - "--start", Arg.Unit (set_mode `Start), " Start a job manually"; + "--start", Arg.Unit (set_mode `Start), "name Start a job manually"; "--type", Arg.Set_string typ, "bool|int|float|string|unit Set the variable type"; "--upload", Arg.Unit (set_mode `Upload), " Upload the script"; "--variables", Arg.Unit (set_mode `Variables), " Display all variables and values"; diff --git a/tools/whenjobs.pod b/tools/whenjobs.pod index 0f777d4..25dff40 100644 --- a/tools/whenjobs.pod +++ b/tools/whenjobs.pod @@ -149,13 +149,6 @@ source, eg: whenjobs --lib $builddir/lib -e -=item B<--start> "job name" - -Start the job immediately and unconditionally. - -This runs the job even if its normal preconditions are not met. This -may cause unexpected results, so use with caution. - =item B<--set> variable value =item B<--type> bool|int|float|string|unit @@ -176,6 +169,13 @@ variable when setting it by adding the optional I<--type> parameter: See the discussion of variable types in the L section below. +=item B<--start> "job name" + +Start the job immediately and unconditionally. + +This runs the job even if its normal preconditions are not met. This +may cause unexpected results, so use with caution. + =item B<--upload> Compile the jobs script and upload it to the daemon, without editing. -- 1.8.3.1