[memtest86+] Fixed typo in memtest-setup help, added its options to man / help
Jaroslav Škarvada
jskarvad at fedoraproject.org
Fri Sep 5 08:51:56 UTC 2014
commit 07291e57b4a66299592f464987b760826c1f11a5
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Fri Sep 5 10:51:42 2014 +0200
Fixed typo in memtest-setup help, added its options to man / help
memtest-setup | 8 +++++++-
memtest-setup.8 | 8 +++++++-
memtest86+.spec | 5 ++++-
3 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/memtest-setup b/memtest-setup
index 1b1041c..0f576b3 100755
--- a/memtest-setup
+++ b/memtest-setup
@@ -11,15 +11,21 @@ G2TEMPL="20_memtest86+"
if [ "$1" = "--help" -o "$1" = "-h" ]; then
cat <<:EOF
+usage: memtest-setup [OPTIONS]
+
This utility installs Memtest86+ into your GRUB boot loader menu.
It supports both GRUB 2 and GRUB Legacy (i.e. GRUB 0.9x).
In case of GRUB 2 it installs GRUB 2 template into /etc/grub.d and GRUB 2
config needs to be regenerated manually by running:
-grub2-mkconfig -o \fI/boot/grub2/grub.cfg
+grub2-mkconfig -o /boot/grub2/grub.cfg
This is not done automatically because it could overwrite any custom changes
in /boot/grub2/grub.cfg.
+
+OPTIONS:
+ -h , --help show this help
+
:EOF
exit 0
fi
diff --git a/memtest-setup.8 b/memtest-setup.8
index 7d8d895..07dc8e3 100644
--- a/memtest-setup.8
+++ b/memtest-setup.8
@@ -5,7 +5,8 @@
memtest\-setup \- Install Memtest86+ into your GRUB boot loader menu
.SH "SYNOPSIS"
.HP \w'\fBmemtest\-setup\fR\ 'u
-\fBmemtest\-setup\fR
+.B memtest\-setup
+.RI [ OPTIONS ]
.SH "DESCRIPTION"
.PP
\fBmemtest\-setup\fR
@@ -15,6 +16,11 @@ into \fI/etc/grub.d\fR and GRUB\ 2 config needs to be regenerated manually by
running \fBgrub2-mkconfig\ -o\ \fI/boot/grub2/grub.cfg\fR under root.
This is not done automatically because it could overwrite any custom changes in
\fI/boot/grub2/grub.cfg\fR.
+.SH "OPTIONS"
+.SS
+.TP
+.BR \-h ", " \-\-help
+Shows help.
.SH "AUTHOR"
.PP
\fBJaroslav Škarvada\fR <\&jskarvad at redhat\&.com\&>
diff --git a/memtest86+.spec b/memtest86+.spec
index 6baac47..5ebc292 100644
--- a/memtest86+.spec
+++ b/memtest86+.spec
@@ -9,7 +9,7 @@
Name: memtest86+
Version: 5.01
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2
Summary: Stand-alone memory tester for x86 and x86-64 computers
Group: System Environment/Base
@@ -120,6 +120,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/*.8.gz
%changelog
+* Fri Sep 5 2014 Jaroslav Škarvada <jskarvad at redhat.com> - 5.01-7
+- Fixed typo in memtest-setup help, added its options to man / help
+
* Wed Sep 3 2014 Jaroslav Škarvada <jskarvad at redhat.com> - 5.01-6
- Fixed memtest-setup script
More information about the scm-commits
mailing list