From d133f16a72955dbf16956a31e8047bb5be00ccfb Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Mon, 19 Oct 2015 16:28:50 -0700
Subject: [PATCH] Fix salloc -I to accept an argument

---
 NEWS             | 1 +
 src/salloc/opt.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index f0405d1c4b6..9f48402029f 100644
--- a/NEWS
+++ b/NEWS
@@ -64,6 +64,7 @@ documents those changes that are of interest to users and administrators.
     salloc.
  -- Add scancel -f/--full option to signal all steps including batch script and
     all of its child processes.
+ -- Fix salloc -I to accept an argument
 
 * Changes in Slurm 15.08.1
 ==========================
diff --git a/src/salloc/opt.c b/src/salloc/opt.c
index 5cce18f665b..d96ba3cbc17 100644
--- a/src/salloc/opt.c
+++ b/src/salloc/opt.c
@@ -734,7 +734,7 @@ void set_options(const int argc, char **argv)
 		{NULL,            0,                 0, 0}
 	};
 	char *opt_string =
-		"+A:B:c:C:d:D:F:g:hHIJ:kK::L:m:n:N:Op:P:QRsS:t:uU:vVw:W:x:";
+		"+A:B:c:C:d:D:F:g:hHI::J:kK::L:m:n:N:Op:P:QRsS:t:uU:vVw:W:x:";
 	char *pos_delimit;
 
 	struct option *optz = spank_option_table_create(long_options);
-- 
GitLab