From 810a9db9e1d153c4f992933d212101a2b120937f Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Mon, 12 Sep 2011 09:14:01 -0700
Subject: [PATCH] Update sacct man page for long state descriptions

The "+" sign only appears to indicate that there is more information than the current field width can hold.  For example  "CANCELLED+"  can indicate that the state is actually "CANCELLED by nnn".   Increasing the field width with the %NUMBER format modifier will show this. Patch by Don Albert, Bull.
---
 doc/man/man1/sacct.1 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/man/man1/sacct.1 b/doc/man/man1/sacct.1
index b6dc83acdf0..fcde9e4ad9e 100644
--- a/doc/man/man1/sacct.1
+++ b/doc/man/man1/sacct.1
@@ -664,9 +664,10 @@ Initiation time of the job in the same format as \f3end\fP.
 Displays the job status, or state.
 
 Output can be RUNNING, RESIZING, SUSPENDED, COMPLETED, CANCELLED, FAILED,
-TIMEOUT, PREEMPTED or NODE_FAIL. If multiple job states are found for a single
-job (e.g. the job was requeued after a NODE_FAIL and then COMPLETED)
-then the last job state will be displayed followed by a "+".
+TIMEOUT, PREEMPTED or NODE_FAIL. If more information is available on the job state
+than will fit into the current field width (for example, the uid that CANCELLED
+a job) the state will be followed by a "+".  You can increase the size of
+the displayed state using the "%NUMBER" format modifier described earlier.
 
 .TP
 \f3submit\fP
-- 
GitLab