From 89fc0c2066a3ec782809ea6e78259e61d803c3db Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Fri, 27 Feb 2009 19:24:27 +0000
Subject: [PATCH] Add newlines to spank_print options PATCH 4/9 from Mark
 Grondona

---
 src/common/plugstack.c | 2 +-
 src/srun/opt.c         | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/common/plugstack.c b/src/common/plugstack.c
index cc2558df9e9..f9bc7180627 100644
--- a/src/common/plugstack.c
+++ b/src/common/plugstack.c
@@ -1091,7 +1091,7 @@ int spank_print_options(FILE * fp, int left_pad, int width)
 	if ((option_cache == NULL) || (list_count(option_cache) == 0))
 		return (0);
 
-	fprintf(fp, "Options provided by plugins:\n");
+	fprintf(fp, "\nOptions provided by plugins:\n");
 
 	i = list_iterator_create(option_cache);
 	while ((p = list_next(i))) {
diff --git a/src/srun/opt.c b/src/srun/opt.c
index 955b844cebc..50edcb8291f 100644
--- a/src/srun/opt.c
+++ b/src/srun/opt.c
@@ -2104,11 +2104,9 @@ static void _help(void)
 			);
 	}
 	slurm_conf_unlock();
-	printf("\n");
 	spank_print_options (stdout, 6, 30);
-	printf("\n");
 
-        printf(
+        printf("\n"
 #ifdef HAVE_AIX				/* AIX/Federation specific options */
 		"AIX related options:\n"
 		"  --network=type              communication protocol to be used\n"
-- 
GitLab