projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967bd9f
)
import version 1.013
author
Jim Meyering
<jim@meyering.net>
Thu, 2 Sep 1999 10:40:44 +0000
(10:40 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 2 Sep 1999 10:40:44 +0000
(10:40 +0000)
man/help2man
patch
|
blob
|
history
diff --git
a/man/help2man
b/man/help2man
index
467391a
..
cc0f5cf
100755
(executable)
--- a/
man/help2man
+++ b/
man/help2man
@@
-26,7
+26,7
@@
use Text::Tabs qw(expand);
use POSIX qw(strftime setlocale LC_TIME);
my $this_program = 'help2man';
-my $this_version = '1.01
2
';
+my $this_version = '1.01
3
';
my $version_info = <<EOT;
$this_program $this_version
@@
-285,8
+285,6
@@
for (@help)
$break = '';
}
- s/\\/\\\\/g;
-
my $output = '';
while (length)
{
@@
-323,6
+321,9
@@
for (@help)
$_ = $output;
+ # Escape backslashes.
+ s/\\/\\e/g;
+
# Convert options.
s/(^| )(-[][\w=-]+)/$1 . convert_option $2/mge;
print;