From 212e64c4505d21168c8d8e1802559a165e86e43c Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Fri, 16 Mar 2007 18:47:29 +0000
Subject: [PATCH] Note support of command args for sbatch and salloc.

---
 doc/man/man1/salloc.1 | 2 +-
 doc/man/man1/sbatch.1 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/man/man1/salloc.1 b/doc/man/man1/salloc.1
index c22f20e4377..9db1b8bbf0b 100644
--- a/doc/man/man1/salloc.1
+++ b/doc/man/man1/salloc.1
@@ -4,7 +4,7 @@
 salloc \- Obtain a SLURM job allocation (a set of nodes), execute a command, and then release the allocation when the command is finished.
 .SH "SYNOPSIS"
 .LP 
-salloc [\fIoptions\fP] <\fIcommand\fP> [\fIcommand args\fR]
+salloc [\fIoptions\fP] [<\fIcommand\fP> [\fIcommand args\fR]]
 .SH "DESCRIPTION"
 .LP 
 salloc is used to allocate a SLURM job allocation, which is a set of resources (nodes), possibly with some set of constraints (e.g. number of processors per node).  When salloc successfully obtains the requested allocation, it then runs the command specified by the user.  Finally, when the user specified command is complete, salloc relinquishes the job allocation.
diff --git a/doc/man/man1/sbatch.1 b/doc/man/man1/sbatch.1
index b73a30d7993..5ad28155835 100644
--- a/doc/man/man1/sbatch.1
+++ b/doc/man/man1/sbatch.1
@@ -4,7 +4,7 @@
 sbatch \- Submit a batch script to SLURM.
 .SH "SYNOPSIS"
 .LP 
-sbatch [\fIoptions\fP] [\fIscript\fP]
+sbatch [\fIoptions\fP] \fIscript\fP [\fIargs\fP...]
 .SH "DESCRIPTION"
 .LP 
 sbatch submits a batch script to SLURM.  The batch script may be given to
-- 
GitLab