From 05333f2ea0296fd40d41fef81f0c9b40a9061595 Mon Sep 17 00:00:00 2001
From: Duncan Idaho <dune.idaho@gmail.com>
Date: Sat, 28 Apr 2012 07:04:37 +0000
Subject: [PATCH 15/18] lib/ipmi_user.c - change layout of help output
 Signed-off-by: Duncan Idaho <dune.idaho@gmail.com>

Commit changes layout of help output of 'user' sub-command. Two note-worthy
things change:
* heading has line of its own
* tabs in command-params replaced by spaces
---
 lib/ipmi_user.c |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/lib/ipmi_user.c b/lib/ipmi_user.c
index 9f1db98..3beafb8 100644
--- a/lib/ipmi_user.c
+++ b/lib/ipmi_user.c
@@ -510,14 +510,16 @@ ipmi_user_test_password(
 static void
 print_user_usage(void)
 {
-	lprintf(LOG_NOTICE, "User Commands: summary [<channel number>]");
-	lprintf(LOG_NOTICE, "		   list	   [<channel number>]");
-	lprintf(LOG_NOTICE, "		   set name	<user id> <username>");
+	lprintf(LOG_NOTICE, "User Commands:");
+	lprintf(LOG_NOTICE, "		   summary      [<channel number>]");
+	lprintf(LOG_NOTICE, "		   list         [<channel number>]");
+	lprintf(LOG_NOTICE, "		   set name     <user id> <username>");
 	lprintf(LOG_NOTICE, "		   set password <user id> [<password>]");
-	lprintf(LOG_NOTICE, "		   disable	<user id>");
-	lprintf(LOG_NOTICE, "		   enable	<user id>");
-	lprintf(LOG_NOTICE, "		   priv  	<user id> <privilege level> [<channel number>]");
-	lprintf(LOG_NOTICE, "		   test		<user id> <16|20> [<password]>\n");
+	lprintf(LOG_NOTICE, "		   disable      <user id>");
+	lprintf(LOG_NOTICE, "		   enable       <user id>");
+	lprintf(LOG_NOTICE,
+			"		   priv         <user id> <privilege level> [<channel number>]");
+	lprintf(LOG_NOTICE, "		   test         <user id> <16|20> [<password]>\n");
 }
 
 
-- 
1.7.5.1

