From a52c81476149e91d3b0017fd0b4bdfbc6e425870 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Tue, 14 Oct 2014 13:36:43 -0700
Subject: [PATCH] Make undocumented --alps return error if used on any system.

---
 src/srun/libsrun/opt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/srun/libsrun/opt.c b/src/srun/libsrun/opt.c
index 8c93b76ea0b..d4b14a26ce6 100644
--- a/src/srun/libsrun/opt.c
+++ b/src/srun/libsrun/opt.c
@@ -1629,7 +1629,7 @@ static void _set_options(const int argc, char **argv)
 			opt.gres = xstrdup(optarg);
 			break;
 		case LONG_OPT_ALPS:
-			verbose("Not running ALPS. --alps option ignored.");
+			error("Not running ALPS. --alps option ignored.");
 			break;
 		case LONG_OPT_REQ_SWITCH:
 			pos_delimit = strstr(optarg,"@");
-- 
GitLab