From 85a6cab3529eff8f87f6d54ff18e5d86947decfe Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Wed, 9 Jul 2003 23:31:25 +0000
Subject: [PATCH] Describe new command line options -V, --version.

---
 doc/man/man1/scontrol.1 | 15 ++++++++++++---
 doc/man/man1/sinfo.1    |  4 ++++
 doc/man/man1/squeue.1   |  3 +++
 3 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/doc/man/man1/scontrol.1 b/doc/man/man1/scontrol.1
index eb27899700f..ffe83170785 100644
--- a/doc/man/man1/scontrol.1
+++ b/doc/man/man1/scontrol.1
@@ -22,16 +22,22 @@ be abbreviated to the extent that the specification is unique.
 .TP
 \fBOPTIONS\fR
 .TP
-\fB-h\fR
+\fB\-h\fR, \fB\-\-help\fR
 Print a help message describing the usage of scontrol.
 .TP
-\fB-q\fR
+\fB\-o\fR, \fB\-\-oneliner\fR
+Print information one line per record.
+.TP
+\fB\-q\fR, \fB\-\-quiet\fR
 Print no warning or informational messages, only fatal error messages.
 .TP
-\fB-v\fR
+\fB-v\fR, \fB\-\-verbose\fR
 Print detailed event logging. This includes time-stamps on data structures, 
 record counts, etc.
 .TP
+\fB\-V\fR , \fB\-\-version\fR
+Print version information and exit.
+.TP
 \fBCOMMANDS\fR
 .TP
 \fIabort\fP
@@ -47,6 +53,9 @@ Terminate the execution of scontrol.
 \fIhelp\fP
 Display a description of scontrol options and commands.
 .TP
+\fIoneliner\fP
+Print information one line per record.
+.TP
 \fIpid2jid\fP \fIPROC_ID\fP
 Print the Slurm job id corresponding to the supplied process id, \fIPROC_ID\fP,
 on the current node.
diff --git a/doc/man/man1/sinfo.1 b/doc/man/man1/sinfo.1
index 5c33a7b1cbc..03e0ef2e598 100644
--- a/doc/man/man1/sinfo.1
+++ b/doc/man/man1/sinfo.1
@@ -115,6 +115,10 @@ Dipaly brief description of commands and options.
 .TP
 \fB\-v\fR , \fB\-\-verbose\fR
 Provide detailed event logging through program execution.
+.TP
+\fB\-V\fR , \fB\-\-version\fR
+Print version information and exit.
+
 .SH "ARGUMENTS"
 .TP
 \fBnodes\fR
diff --git a/doc/man/man1/squeue.1 b/doc/man/man1/squeue.1
index 2eba9702bb6..85065eb3a95 100644
--- a/doc/man/man1/squeue.1
+++ b/doc/man/man1/squeue.1
@@ -130,6 +130,9 @@ reported.
 .TP
 \fB\-v\fR, \fB\-\-verbose\fR
 Report details of squeues actions.
+.TP
+\fB\-V\fR , \fB\-\-version\fR
+Print version information and exit.
 
 .SH "ENVIRONMENT VARIABLES"
 .PP
-- 
GitLab