Fixed typo in memtest-setup help, added its options to man / help

This commit is contained in:
Jaroslav Škarvada 2014-09-05 10:51:42 +02:00
parent 66688611d8
commit 07291e57b4
3 changed files with 18 additions and 3 deletions

View File

@ -11,15 +11,21 @@ G2TEMPL="20_memtest86+"
if [ "$1" = "--help" -o "$1" = "-h" ]; then if [ "$1" = "--help" -o "$1" = "-h" ]; then
cat <<:EOF cat <<:EOF
usage: memtest-setup [OPTIONS]
This utility installs Memtest86+ into your GRUB boot loader menu. This utility installs Memtest86+ into your GRUB boot loader menu.
It supports both GRUB 2 and GRUB Legacy (i.e. GRUB 0.9x). 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 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: 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 This is not done automatically because it could overwrite any custom changes
in /boot/grub2/grub.cfg. in /boot/grub2/grub.cfg.
OPTIONS:
-h , --help show this help
:EOF :EOF
exit 0 exit 0
fi fi

View File

@ -5,7 +5,8 @@
memtest\-setup \- Install Memtest86+ into your GRUB boot loader menu memtest\-setup \- Install Memtest86+ into your GRUB boot loader menu
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP \w'\fBmemtest\-setup\fR\ 'u .HP \w'\fBmemtest\-setup\fR\ 'u
\fBmemtest\-setup\fR .B memtest\-setup
.RI [ OPTIONS ]
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
\fBmemtest\-setup\fR \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. 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 This is not done automatically because it could overwrite any custom changes in
\fI/boot/grub2/grub.cfg\fR. \fI/boot/grub2/grub.cfg\fR.
.SH "OPTIONS"
.SS
.TP
.BR \-h ", " \-\-help
Shows help.
.SH "AUTHOR" .SH "AUTHOR"
.PP .PP
\fBJaroslav Škarvada\fR <\&jskarvad@redhat\&.com\&> \fBJaroslav Škarvada\fR <\&jskarvad@redhat\&.com\&>

View File

@ -9,7 +9,7 @@
Name: memtest86+ Name: memtest86+
Version: 5.01 Version: 5.01
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv2 License: GPLv2
Summary: Stand-alone memory tester for x86 and x86-64 computers Summary: Stand-alone memory tester for x86 and x86-64 computers
Group: System Environment/Base Group: System Environment/Base
@ -120,6 +120,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/*.8.gz %{_mandir}/man8/*.8.gz
%changelog %changelog
* Fri Sep 5 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 5.01-7
- Fixed typo in memtest-setup help, added its options to man / help
* Wed Sep 3 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 5.01-6 * Wed Sep 3 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 5.01-6
- Fixed memtest-setup script - Fixed memtest-setup script