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