From f73e94496a030883917879a1207e9005cfea9ffb Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Tue, 6 Sep 2005 19:12:44 +0000
Subject: [PATCH] Modify sfree (BGL command) so that --all option no longer
 requires an argument.

---
 Makefile.am                        |  4 +++-
 NEWS                               |  7 ++++++-
 src/plugins/select/bluegene/opts.c | 10 +++++-----
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index df554504f13..8c97afab2d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,9 @@ EXTRA_DIST =			\
 	INSTALL			\
 	NEWS			\
 	ChangeLog		\
-	META
+	META			\
+	config.xml		\
+	configurator.html
 
 pkginclude_HEADERS =		\
 	slurm/bnr.h		\
diff --git a/NEWS b/NEWS
index d44e8e50bcb..8d941aae12b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,16 @@
 This file describes changes in recent versions of SLURM. It primarily
 documents those changes that are of interest to users and admins. 
 
+* Changes in SLURM 0.6.0-pre5
+=============================
+ -- Modify sfree (BGL command) so that --all option no longer requires
+    an argument.
+
 * Changes in SLURM 0.6.0-pre4
 =============================
  -- Added etc/slurm.epilog.clean to kill processes initiated outside of 
     slurm when a user's last job on a node terminates.
- -- Added config.xml file for use by OSCAR.
+ -- Added config.xml and configurator.html files for use by OSCAR.
  -- Increased maximum job step count from 64 to 130 for BGL systems only.
 
 * Changes in SLURM 0.6.0-pre3
diff --git a/src/plugins/select/bluegene/opts.c b/src/plugins/select/bluegene/opts.c
index 7b21c1f118b..d5588ef86cd 100644
--- a/src/plugins/select/bluegene/opts.c
+++ b/src/plugins/select/bluegene/opts.c
@@ -41,12 +41,12 @@ void parse_command_line(int argc, char *argv[])
 	int option_index;
 	
 	static struct option long_options[] = {
-		{"all", required_argument, 0,       'a'},
-		{"bglblock", required_argument, 0,  'b'},
+		{"all",       no_argument,       0, 'a'},
+		{"bglblock",  required_argument, 0, 'b'},
 		{"partition", required_argument, 0, 'p'},
-		{"version", no_argument, 0,         'V'},
-		{"help", no_argument, 0,            'h'},
-		{"usage", no_argument, 0,           'u'},
+		{"version",   no_argument,       0, 'V'},
+		{"help",      no_argument,       0, 'h'},
+		{"usage",     no_argument,       0, 'u'},
 		{NULL, 0, 0, 0}
 	};
 
-- 
GitLab