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