QA: adapt changes wrt DRBD usermode helper
[ganeti-local] / man / gnt-job.rst
index 773d8a3..7f3c80d 100644 (file)
@@ -42,7 +42,8 @@ CANCEL
 ~~~~~~
 
 | **cancel**
-| {[\--force] {\--pending | \--queued | \--waiting} | *job-id* ...}
+| {[\--force] {\--pending | \--queued | \--waiting} |
+|  *job-id* ...}
 
 Cancel the job(s) identified by the given *job id*. Only jobs that have
 not yet started to run can be canceled; that is, jobs in either the
@@ -50,6 +51,19 @@ not yet started to run can be canceled; that is, jobs in either the
 ``--queued`` and ``waiting`` can be used to cancel all jobs in the
 respective state, ``--pending`` includes both.
 
+CHANGE-PRIORITY
+~~~~~~~~~~~~~~~
+
+| **change-priority** \--priority {low | normal | high}
+| {[\--force] {\--pending | \--queued | \--waiting} |
+|  *job-id* ...}
+
+Changes the priority of one or multiple pending jobs. Jobs currently
+running have only the priority of remaining opcodes changed.
+``--priority`` must be specified. ``--queued`` and ``waiting`` can be
+used to re-prioritize all jobs in the respective state, ``--pending``
+includes both. To skip a confirmation, pass ``--force``.
+
 INFO
 ~~~~
 
@@ -99,7 +113,7 @@ The following options can be used to show only specific jobs:
   Show finished jobs only.
 
 If exactly one argument is given and it appears to be a query filter
-(see **ganeti(7)**), the query result is filtered accordingly. For
+(see **ganeti**\(7)), the query result is filtered accordingly. For
 ambiguous cases (e.g. a single field name as a filter) the ``--filter``
 (``-F``) option forces the argument to be treated as a filter.
 
@@ -112,6 +126,14 @@ LIST-FIELDS
 Lists available fields for jobs.
 
 
+WAIT
+~~~~~
+
+**wait** {id}
+
+Wait for the job by the given *id* to finish; do not produce
+any output.
+
 WATCH
 ~~~~~