upgrade help2man.

This commit is contained in:
okuji 1999-09-02 20:59:58 +00:00
parent c085904fd1
commit 04ed0a2bf7
3 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,8 @@
1999-09-03 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* docs/help2man: Upgraded to 1.013.
* docs/grub.8: Regenerated.
1999-09-02 Pavel Roskin <pavel_roskin@geocities.com> 1999-09-02 Pavel Roskin <pavel_roskin@geocities.com>
* stage2/cmdline.c (enter_cmdline) [GRUB_UTIL]: Add a space in * stage2/cmdline.c (enter_cmdline) [GRUB_UTIL]: Add a space in

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.012. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.013.
.TH GRUB "8" "August 1999" "GNU GRUB 0.5.93" FSF .TH GRUB "8" "September 1999" "GNU GRUB 0.5.93" FSF
.SH NAME .SH NAME
GRUB \- the grub shell GRUB \- the grub shell
.SH SYNOPSIS .SH SYNOPSIS

View file

@ -26,7 +26,7 @@ use Text::Tabs qw(expand);
use POSIX qw(strftime setlocale LC_TIME); use POSIX qw(strftime setlocale LC_TIME);
my $this_program = 'help2man'; my $this_program = 'help2man';
my $this_version = '1.012'; my $this_version = '1.013';
my $version_info = <<EOT; my $version_info = <<EOT;
$this_program $this_version $this_program $this_version
@ -51,7 +51,7 @@ Usage: $this_program [OPTION]... EXECUTABLE
--help print this help, then exit --help print this help, then exit
--version print $this_program program version number, then exit --version print $this_program program version number, then exit
EXECUTABLE should accept `--help' and `version' options. EXECUTABLE should accept `--help' and `--version' options.
EOT EOT
my $section = 1; my $section = 1;
@ -321,6 +321,9 @@ for (@help)
$_ = $output; $_ = $output;
# Escape backslashes.
s/\\/\\e/g;
# Convert options. # Convert options.
s/(^| )(-[][\w=-]+)/$1 . convert_option $2/mge; s/(^| )(-[][\w=-]+)/$1 . convert_option $2/mge;
print; print;