diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-01-22 15:26:00 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-01-22 15:26:38 -0800 |
commit | 80bc8651fd6b0a41be00ab4ee82e920287b15cbc (patch) | |
tree | a2ef53611275246a3460e91511550cea100f0494 /man/help2man | |
parent | 132d0055158a8c1973897ef99c2c6459fc8e1e4f (diff) | |
download | coreutils-80bc8651fd6b0a41be00ab4ee82e920287b15cbc.tar.xz |
maint: quote 'like this' or "like this", not `like this'
* doc/coreutils.texi (Formatting the file names):
coreutils now quotes 'like this'.
* man/help2man:
* src/timeout.c (usage): Quote 'like this' in diagnostics.
* HACKING, Makefile.am, NEWS, README, README-hacking, TODO, cfg.mk:
* doc/Makefile.am, doc/coreutils.texi, m4/jm-macros.m4:
* man/Makefile.am, man/help2man, src/Makefile.am, src/copy.h:
* src/extract-magic, src/ls.c, src/pinky.c, src/pr.c, src/sort.c:
* src/split.c, src/timeout.c, src/who.c, tests/dd/skip-seek-past-file:
* tests/pr/pr-tests: Quote 'like this' in commentary.
* cfg.mk (old_NEWS_hash): Update due to changed old NEWS.
Diffstat (limited to 'man/help2man')
-rwxr-xr-x | man/help2man | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man/help2man b/man/help2man index 3130fa525..6112abdf4 100755 --- a/man/help2man +++ b/man/help2man @@ -72,7 +72,7 @@ Written by Brendan O'Dea <bod@debian.org> EOT my $help_info = sprintf _(<<'EOT'), $this_program, $this_program; -`%s' generates a man page out of `--help' and `--version' output. +'%s' generates a man page out of '--help' and '--version' output. Usage: %s [OPTION]... EXECUTABLE @@ -81,15 +81,15 @@ Usage: %s [OPTION]... EXECUTABLE -m, --manual=TEXT name of manual (User Commands, ...) -S, --source=TEXT source of program (FSF, Debian, ...) -L, --locale=STRING select locale (default "C") - -i, --include=FILE include material from `FILE' - -I, --opt-include=FILE include material from `FILE' if it exists - -o, --output=FILE send output to `FILE' + -i, --include=FILE include material from 'FILE' + -I, --opt-include=FILE include material from 'FILE' if it exists + -o, --output=FILE send output to 'FILE' -p, --info-page=TEXT name of Texinfo manual -N, --no-info suppress pointer to Texinfo manual --help print this help, then exit --version print version number, then exit -EXECUTABLE should accept `--help' and `--version' options although +EXECUTABLE should accept '--help' and '--version' options although alternatives may be specified using: -h, --help-option=STRING help option string @@ -157,7 +157,7 @@ while (@opt_include) my ($inc, $required) = @{shift @opt_include}; next unless -f $inc or $required; - kark N_("%s: can't open `%s' (%s)"), $this_program, $inc, $! + kark N_("%s: can't open '%s' (%s)"), $this_program, $inc, $! unless open INC, $inc; my $key; @@ -214,7 +214,7 @@ while (@opt_include) close INC; - kark N_("%s: no valid information found in `%s'"), $this_program, $inc + kark N_("%s: no valid information found in '%s'"), $this_program, $inc unless $key; } @@ -227,7 +227,7 @@ for my $hash (\(%include, %append)) # Grab help and version info from executable. my ($help_text, $version_text) = map { join '', map { s/ +$//; expand $_ } `$ARGV[0] $_ 2>/dev/null` - or kark N_("%s: can't get `%s' info from %s"), $this_program, + or kark N_("%s: can't get '%s' info from %s"), $this_program, $_, $ARGV[0] } $help_option, $version_option; @@ -278,7 +278,7 @@ else $program =~ s!.*/!!; -# No info for `info' itself. +# No info for 'info' itself. $opt_no_info = 1 if $program eq 'info'; for ($include{_('NAME')}) |