Blame SOURCES/0189-Clean-up-grub-setpassword-documentation-1290799.patch

f725e3
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f725e3
From: Robert Marshall <rmarshall@redhat.com>
f725e3
Date: Tue, 26 Jan 2016 10:28:35 -0500
f725e3
Subject: [PATCH] Clean up grub-setpassword documentation (#1290799)
f725e3
f725e3
The output for --help had some errors. Corrected those and polished the
f725e3
text to be a little easier to follow. Carried verbage over to man page
f725e3
to maintain internal consistency.
f725e3
f725e3
Resolves: rhbz#1290799
f725e3
---
f725e3
 util/grub-setpassword.8  |  2 +-
f725e3
 util/grub-setpassword.in | 15 +++++++--------
f725e3
 2 files changed, 8 insertions(+), 9 deletions(-)
f725e3
f725e3
diff --git a/util/grub-setpassword.8 b/util/grub-setpassword.8
f725e3
index 49200a848b7..dc91dd6697b 100644
f725e3
--- a/util/grub-setpassword.8
f725e3
+++ b/util/grub-setpassword.8
f725e3
@@ -19,7 +19,7 @@ Display program usage and exit.
f725e3
 -v, --version
f725e3
 Display the current version.
f725e3
 .TP
f725e3
--o, --output[=\fIDIRECTORY PATH\fR]
f725e3
+-o, --output=<\fIDIRECTORY\fR>
f725e3
 Choose the file path to which user.cfg will be written.
f725e3
 
f725e3
 .SH SEE ALSO
f725e3
diff --git a/util/grub-setpassword.in b/util/grub-setpassword.in
f725e3
index fb9d3a3b6f9..c8c0fa4199d 100755
f725e3
--- a/util/grub-setpassword.in
f725e3
+++ b/util/grub-setpassword.in
f725e3
@@ -16,15 +16,14 @@ grub_mkpasswd="${bindir}/@grub_mkpasswd_pbkdf2@"
f725e3
 # Print the usage.
f725e3
 usage () {
f725e3
     cat <
f725e3
-Usage: $0 [OPTION] [SOURCE]
f725e3
-Run GRUB script in a Qemu instance.
f725e3
-
f725e3
-  -h, --help              print this message and exit
f725e3
-  -v, --version           print the version information and exit
f725e3
-  -o, --output_path       choose a custom output path for user.cfg
f725e3
-
f725e3
+Usage: $0 [OPTION]
f725e3
 $0 prompts the user to set a password on the grub bootloader. The password
f725e3
-is written to a file named user.cfg.
f725e3
+is written to a file named user.cfg which lives in the GRUB directory
f725e3
+located by default at ${grubdir}.
f725e3
+
f725e3
+  -h, --help                     print this message and exit
f725e3
+  -v, --version                  print the version information and exit
f725e3
+  -o, --output_path <DIRECTORY>  put user.cfg in a user-selected directory
f725e3
 
f725e3
 Report bugs at https://bugzilla.redhat.com.
f725e3
 EOF