diff options
author | Jim Meyering <jim@meyering.net> | 2007-03-28 08:50:29 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-03-28 08:50:29 +0200 |
commit | a0faff1a58a96e008f45ab7c00e790dd2c397363 (patch) | |
tree | aca8128d1151ed114a7647491e01bb4e942ef833 | |
parent | 59312fa3f99cbe5a4bb4f194a1106ea484d9bb0c (diff) | |
download | coreutils-a0faff1a58a96e008f45ab7c00e790dd2c397363.tar.xz |
Help translators include translation team's web or email address.
* src/system.h (emit_bug_reporting_address): New function.
* src/base64.c: Use it rather than a literal printf.
* src/basename.c, src/cat.c, src/chgrp.c, src/chmod.c:
* src/chown.c, src/chroot.c, src/cksum.c, src/comm.c, src/cp.c:
* src/csplit.c, src/cut.c, src/date.c, src/dd.c, src/df.c:
* src/dircolors.c, src/dirname.c, src/du.c, src/echo.c, src/env.c:
* src/expand.c, src/expr.c, src/factor.c, src/fmt.c, src/fold.c:
* src/head.c, src/hostid.c, src/hostname.c, src/id.c, src/install.c:
* src/join.c, src/kill.c, src/link.c, src/ln.c, src/logname.c:
* src/ls.c, src/md5sum.c, src/mkdir.c, src/mkfifo.c, src/mknod.c:
* src/mv.c, src/nice.c, src/nl.c, src/nohup.c, src/od.c:
* src/paste.c, src/pathchk.c, src/pinky.c, src/pr.c, src/printenv.c:
* src/printf.c, src/ptx.c, src/pwd.c, src/readlink.c, src/rm.c:
* src/rmdir.c, src/seq.c, src/setuidgid.c, src/shred.c, src/shuf.c:
* src/sleep.c, src/sort.c, src/split.c, src/stat.c, src/stty.c:
* src/su.c, src/sum.c, src/sync.c, src/system.h, src/tac.c:
* src/tail.c, src/tee.c, src/test.c, src/touch.c, src/tr.c:
* src/true.c, src/tsort.c, src/tty.c, src/uname.c, src/unexpand.c:
* src/uniq.c, src/unlink.c, src/uptime.c, src/users.c, src/wc.c:
* src/who.c, src/whoami.c, src/yes.c: Likewise.
-rw-r--r-- | ChangeLog | 22 | ||||
-rw-r--r-- | src/base64.c | 2 | ||||
-rw-r--r-- | src/basename.c | 2 | ||||
-rw-r--r-- | src/cat.c | 2 | ||||
-rw-r--r-- | src/chgrp.c | 2 | ||||
-rw-r--r-- | src/chmod.c | 2 | ||||
-rw-r--r-- | src/chown.c | 2 | ||||
-rw-r--r-- | src/chroot.c | 2 | ||||
-rw-r--r-- | src/cksum.c | 2 | ||||
-rw-r--r-- | src/comm.c | 2 | ||||
-rw-r--r-- | src/cp.c | 2 | ||||
-rw-r--r-- | src/csplit.c | 2 | ||||
-rw-r--r-- | src/cut.c | 2 | ||||
-rw-r--r-- | src/date.c | 2 | ||||
-rw-r--r-- | src/dd.c | 2 | ||||
-rw-r--r-- | src/df.c | 2 | ||||
-rw-r--r-- | src/dircolors.c | 2 | ||||
-rw-r--r-- | src/dirname.c | 2 | ||||
-rw-r--r-- | src/du.c | 2 | ||||
-rw-r--r-- | src/echo.c | 2 | ||||
-rw-r--r-- | src/env.c | 2 | ||||
-rw-r--r-- | src/expand.c | 2 | ||||
-rw-r--r-- | src/expr.c | 2 | ||||
-rw-r--r-- | src/factor.c | 2 | ||||
-rw-r--r-- | src/fmt.c | 2 | ||||
-rw-r--r-- | src/fold.c | 2 | ||||
-rw-r--r-- | src/head.c | 2 | ||||
-rw-r--r-- | src/hostid.c | 2 | ||||
-rw-r--r-- | src/hostname.c | 2 | ||||
-rw-r--r-- | src/id.c | 2 | ||||
-rw-r--r-- | src/install.c | 2 | ||||
-rw-r--r-- | src/join.c | 2 | ||||
-rw-r--r-- | src/kill.c | 2 | ||||
-rw-r--r-- | src/link.c | 2 | ||||
-rw-r--r-- | src/ln.c | 2 | ||||
-rw-r--r-- | src/logname.c | 2 | ||||
-rw-r--r-- | src/ls.c | 2 | ||||
-rw-r--r-- | src/md5sum.c | 2 | ||||
-rw-r--r-- | src/mkdir.c | 2 | ||||
-rw-r--r-- | src/mkfifo.c | 2 | ||||
-rw-r--r-- | src/mknod.c | 2 | ||||
-rw-r--r-- | src/mv.c | 2 | ||||
-rw-r--r-- | src/nice.c | 2 | ||||
-rw-r--r-- | src/nl.c | 2 | ||||
-rw-r--r-- | src/nohup.c | 2 | ||||
-rw-r--r-- | src/od.c | 2 | ||||
-rw-r--r-- | src/paste.c | 2 | ||||
-rw-r--r-- | src/pathchk.c | 2 | ||||
-rw-r--r-- | src/pinky.c | 2 | ||||
-rw-r--r-- | src/pr.c | 2 | ||||
-rw-r--r-- | src/printenv.c | 2 | ||||
-rw-r--r-- | src/printf.c | 2 | ||||
-rw-r--r-- | src/ptx.c | 2 | ||||
-rw-r--r-- | src/pwd.c | 2 | ||||
-rw-r--r-- | src/readlink.c | 2 | ||||
-rw-r--r-- | src/rm.c | 2 | ||||
-rw-r--r-- | src/rmdir.c | 2 | ||||
-rw-r--r-- | src/seq.c | 2 | ||||
-rw-r--r-- | src/setuidgid.c | 2 | ||||
-rw-r--r-- | src/shred.c | 2 | ||||
-rw-r--r-- | src/shuf.c | 2 | ||||
-rw-r--r-- | src/sleep.c | 2 | ||||
-rw-r--r-- | src/sort.c | 2 | ||||
-rw-r--r-- | src/split.c | 2 | ||||
-rw-r--r-- | src/stat.c | 2 | ||||
-rw-r--r-- | src/stty.c | 2 | ||||
-rw-r--r-- | src/su.c | 2 | ||||
-rw-r--r-- | src/sum.c | 2 | ||||
-rw-r--r-- | src/sync.c | 2 | ||||
-rw-r--r-- | src/system.h | 10 | ||||
-rw-r--r-- | src/tac.c | 2 | ||||
-rw-r--r-- | src/tail.c | 2 | ||||
-rw-r--r-- | src/tee.c | 2 | ||||
-rw-r--r-- | src/test.c | 2 | ||||
-rw-r--r-- | src/touch.c | 2 | ||||
-rw-r--r-- | src/tr.c | 2 | ||||
-rw-r--r-- | src/true.c | 2 | ||||
-rw-r--r-- | src/tsort.c | 2 | ||||
-rw-r--r-- | src/tty.c | 2 | ||||
-rw-r--r-- | src/uname.c | 2 | ||||
-rw-r--r-- | src/unexpand.c | 2 | ||||
-rw-r--r-- | src/uniq.c | 2 | ||||
-rw-r--r-- | src/unlink.c | 2 | ||||
-rw-r--r-- | src/uptime.c | 2 | ||||
-rw-r--r-- | src/users.c | 2 | ||||
-rw-r--r-- | src/wc.c | 2 | ||||
-rw-r--r-- | src/who.c | 2 | ||||
-rw-r--r-- | src/whoami.c | 2 | ||||
-rw-r--r-- | src/yes.c | 2 |
89 files changed, 119 insertions, 87 deletions
@@ -1,5 +1,27 @@ 2007-03-28 Jim Meyering <jim@meyering.net> + Help translators include translation team's web or email address. + * src/system.h (emit_bug_reporting_address): New function. + * src/base64.c: Use it rather than a literal printf. + * src/basename.c, src/cat.c, src/chgrp.c, src/chmod.c: + * src/chown.c, src/chroot.c, src/cksum.c, src/comm.c, src/cp.c: + * src/csplit.c, src/cut.c, src/date.c, src/dd.c, src/df.c: + * src/dircolors.c, src/dirname.c, src/du.c, src/echo.c, src/env.c: + * src/expand.c, src/expr.c, src/factor.c, src/fmt.c, src/fold.c: + * src/head.c, src/hostid.c, src/hostname.c, src/id.c, src/install.c: + * src/join.c, src/kill.c, src/link.c, src/ln.c, src/logname.c: + * src/ls.c, src/md5sum.c, src/mkdir.c, src/mkfifo.c, src/mknod.c: + * src/mv.c, src/nice.c, src/nl.c, src/nohup.c, src/od.c: + * src/paste.c, src/pathchk.c, src/pinky.c, src/pr.c, src/printenv.c: + * src/printf.c, src/ptx.c, src/pwd.c, src/readlink.c, src/rm.c: + * src/rmdir.c, src/seq.c, src/setuidgid.c, src/shred.c, src/shuf.c: + * src/sleep.c, src/sort.c, src/split.c, src/stat.c, src/stty.c: + * src/su.c, src/sum.c, src/sync.c, src/system.h, src/tac.c: + * src/tail.c, src/tee.c, src/test.c, src/touch.c, src/tr.c: + * src/true.c, src/tsort.c, src/tty.c, src/uname.c, src/unexpand.c: + * src/uniq.c, src/unlink.c, src/uptime.c, src/users.c, src/wc.c: + * src/who.c, src/whoami.c, src/yes.c: Likewise. + * src/stty.c: Don't include "vasprintf.h", now that its declarations are guaranteed to be in gnulib's stdio.h. * src/who.c: Likewise. diff --git a/src/base64.c b/src/base64.c index 9f8ff417c..4a278278e 100644 --- a/src/base64.c +++ b/src/base64.c @@ -87,7 +87,7 @@ When decoding, the input may contain newlines in addition to the bytes of\n\ the formal base64 alphabet. Use --ignore-garbage to attempt to recover\n\ from any other non-alphabet bytes in the encoded stream.\n"), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); diff --git a/src/basename.c b/src/basename.c index f2617b1ea..22f76fc3b 100644 --- a/src/basename.c +++ b/src/basename.c @@ -70,7 +70,7 @@ Examples:\n\ %s include/stdio.h .h Output \"stdio\".\n\ "), program_name, program_name); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -125,7 +125,7 @@ Examples:\n\ %s Copy standard input to standard output.\n\ "), program_name, program_name); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/chgrp.c b/src/chgrp.c index faf58d36b..1778a8d69 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -160,7 +160,7 @@ Examples:\n\ %s -hR staff /u Change the group of /u and subfiles to \"staff\".\n\ "), program_name, program_name); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/chmod.c b/src/chmod.c index 028c882d0..707b41561 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -369,7 +369,7 @@ Change the mode of each FILE to MODE.\n\ \n\ Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/chown.c b/src/chown.c index 63a32f5bf..29b75a251 100644 --- a/src/chown.c +++ b/src/chown.c @@ -155,7 +155,7 @@ Examples:\n\ %s -hR root /u Change the owner of /u and subfiles to \"root\".\n\ "), program_name, program_name, program_name); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/chroot.c b/src/chroot.c index d2ae0e580..31af1817c 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -57,7 +57,7 @@ Run COMMAND with root directory set to NEWROOT.\n\ \n\ If no command is given, run ``${SHELL} -i'' (default: /bin/sh).\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/cksum.c b/src/cksum.c index d93877fa5..7b65c730d 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -273,7 +273,7 @@ Print CRC checksum and byte counts of each FILE.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/comm.c b/src/comm.c index 9b7e03f1f..6ab4938b3 100644 --- a/src/comm.c +++ b/src/comm.c @@ -91,7 +91,7 @@ and column three contains lines common to both files.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -249,7 +249,7 @@ As a special case, cp makes a backup of SOURCE when the force and backup\n\ options are given and SOURCE and DEST are the same name for an existing,\n\ regular file.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/csplit.c b/src/csplit.c index c2105bc07..75a5718d1 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1509,7 +1509,7 @@ Read standard input if FILE is -. Each PATTERN may be:\n\ \n\ A line OFFSET is a required `+' or `-' followed by a positive integer.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -234,7 +234,7 @@ Each range is one of:\n\ \n\ With no FILE, or when FILE is -, read standard input.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/date.c b/src/date.c index c64ab1c04..8102e9921 100644 --- a/src/date.c +++ b/src/date.c @@ -245,7 +245,7 @@ then an optional modifier, which is either\n\ E to use the locale's alternate representations if available, or\n\ O to use the locale's alternate numeric symbols if available.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -507,7 +507,7 @@ Options are:\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -772,7 +772,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ SIZE may be (or may be an integer optionally followed by) one of following:\n\ kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/dircolors.c b/src/dircolors.c index 82eb1e088..51f036d7f 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -116,7 +116,7 @@ If FILE is specified, read it to determine which colors to use for which\n\ file types and extensions. Otherwise, a precompiled database is used.\n\ For details on the format of these files, run `dircolors --print-database'.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); diff --git a/src/dirname.c b/src/dirname.c index 2253391ce..bc2b0f362 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -64,7 +64,7 @@ Examples:\n\ %s stdio.h Output \".\".\n\ "), program_name, program_name); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -344,7 +344,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ SIZE may be (or may be an integer optionally followed by) one of following:\n\ kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/echo.c b/src/echo.c index 5f8582cc0..fe55cddff 100644 --- a/src/echo.c +++ b/src/echo.c @@ -95,7 +95,7 @@ If -e is in effect, the following sequences are recognized:\n\ \\v vertical tab\n\ "), stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -130,7 +130,7 @@ Set each NAME to VALUE in the environment and run COMMAND.\n\ \n\ A mere - implies -i. If no COMMAND, print the resulting environment.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/expand.c b/src/expand.c index 564520376..42739bd65 100644 --- a/src/expand.c +++ b/src/expand.c @@ -129,7 +129,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/expr.c b/src/expr.c index 352c80cc6..57c259144 100644 --- a/src/expr.c +++ b/src/expr.c @@ -163,7 +163,7 @@ Pattern matches return the string matched between \\( and \\) or null; if\n\ Exit status is 0 if EXPRESSION is neither null nor 0, 1 if EXPRESSION is null\n\ or 0, 2 if EXPRESSION is syntactically invalid, and 3 if an error occurred.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/factor.c b/src/factor.c index dc8f1cc87..5ebe15484 100644 --- a/src/factor.c +++ b/src/factor.c @@ -87,7 +87,7 @@ Print the prime factors of each NUMBER.\n\ Print the prime factors of all specified integer NUMBERs. If no arguments\n\ are specified on the command line, they are read from standard input.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -297,7 +297,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ With no FILE, or when FILE is -, read standard input.\n"), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/fold.c b/src/fold.c index 0d4ea5860..84b6eac7f 100644 --- a/src/fold.c +++ b/src/fold.c @@ -86,7 +86,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/head.c b/src/head.c index 4038722b0..9d830644c 100644 --- a/src/head.c +++ b/src/head.c @@ -137,7 +137,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ N may have a multiplier suffix: b 512, k 1024, m 1024*1024.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/hostid.c b/src/hostid.c index 090b8a04c..edd9e3ddc 100644 --- a/src/hostid.c +++ b/src/hostid.c @@ -54,7 +54,7 @@ Print the numeric identifier (in hexadecimal) for the current host.\n\ program_name, program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/hostname.c b/src/hostname.c index f6748a66d..a2666bad5 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -71,7 +71,7 @@ Print or set the hostname of the current system.\n\ program_name, program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -92,7 +92,7 @@ Print information for USERNAME, or the current user.\n\ \n\ Without any OPTION, print some useful set of identified information.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/install.c b/src/install.c index 04577518c..6f85a24f4 100644 --- a/src/install.c +++ b/src/install.c @@ -702,7 +702,7 @@ the VERSION_CONTROL environment variable. Here are the values:\n\ existing, nil numbered if numbered backups exist, simple otherwise\n\ simple, never always make simple backups\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/join.c b/src/join.c index b113c543b..c06213c4f 100644 --- a/src/join.c +++ b/src/join.c @@ -169,7 +169,7 @@ separated by CHAR.\n\ Important: FILE1 and FILE2 must be sorted on the join fields.\n\ E.g., use `sort -k 1b,1' if `join' has no options.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/kill.c b/src/kill.c index c59025fa0..0c7ac1242 100644 --- a/src/kill.c +++ b/src/kill.c @@ -114,7 +114,7 @@ or an exit status of a process terminated by a signal.\n\ PID is an integer; if negative it identifies a process group.\n\ "), stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/link.c b/src/link.c index 277cf2352..9e1f33970 100644 --- a/src/link.c +++ b/src/link.c @@ -55,7 +55,7 @@ Usage: %s FILE1 FILE2\n\ stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -375,7 +375,7 @@ the VERSION_CONTROL environment variable. Here are the values:\n\ existing, nil numbered if numbered backups exist, simple otherwise\n\ simple, never always make simple backups\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/logname.c b/src/logname.c index dc8296716..422bc657c 100644 --- a/src/logname.c +++ b/src/logname.c @@ -48,7 +48,7 @@ Print the name of the current user.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -4424,7 +4424,7 @@ colors, and can be set easily by the dircolors command.\n\ \n\ Exit status is 0 if OK, 1 if minor problems, 2 if serious trouble.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/md5sum.c b/src/md5sum.c index a8ce1cf27..f637bae39 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -191,7 +191,7 @@ should be a former output of this program. The default mode is to print\n\ a line with checksum, a character indicating type (`*' for binary, ` ' for\n\ text), and name for each FILE.\n"), DIGEST_REFERENCE); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); diff --git a/src/mkdir.c b/src/mkdir.c index 6fa0ac21d..0db72415e 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -71,7 +71,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/mkfifo.c b/src/mkfifo.c index d329b79b8..bd006c441 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -64,7 +64,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/mknod.c b/src/mknod.c index 43a1b9dcc..955f34507 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -79,7 +79,7 @@ otherwise, as decimal. TYPE may be:\n\ c, u create a character (unbuffered) special file\n\ p create a FIFO\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -328,7 +328,7 @@ the VERSION_CONTROL environment variable. Here are the values:\n\ existing, nil numbered if numbered backups exist, simple otherwise\n\ simple, never always make simple backups\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/nice.c b/src/nice.c index 19b38bc34..8b6f4d814 100644 --- a/src/nice.c +++ b/src/nice.c @@ -85,7 +85,7 @@ With no COMMAND, print the current niceness. Nicenesses range from\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -226,7 +226,7 @@ FORMAT is one of:\n\ rz right justified, leading zeros\n\ \n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/nohup.c b/src/nohup.c index 1f8e62bc4..dd64410b3 100644 --- a/src/nohup.c +++ b/src/nohup.c @@ -67,7 +67,7 @@ Run COMMAND, ignoring hangup signals.\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -392,7 +392,7 @@ of output. \ --string without a number implies 3. --width without a number\n\ implies 32. By default, od uses -A o -t d2 -w16.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/paste.c b/src/paste.c index 414fb8830..808744818 100644 --- a/src/paste.c +++ b/src/paste.c @@ -434,7 +434,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); /* FIXME: add a couple of examples. */ - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/pathchk.c b/src/pathchk.c index 748ae6432..5e98d5a85 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -105,7 +105,7 @@ Diagnose unportable constructs in NAME.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/pinky.c b/src/pinky.c index 885012b3d..ccc5d72e8 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -530,7 +530,7 @@ usage (int status) A lightweight `finger' program; print user information.\n\ The utmp file will be %s.\n\ "), UTMP_FILE); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -2872,7 +2872,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -T implied by -l nn when nn <= 10 or <= 3 with -F. With no FILE, or when\n\ FILE is -, read standard input.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/printenv.c b/src/printenv.c index e06b704e2..3412f45f5 100644 --- a/src/printenv.c +++ b/src/printenv.c @@ -68,7 +68,7 @@ If no environment VARIABLE specified, print them all.\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/printf.c b/src/printf.c index 6205153bd..61c22bf9c 100644 --- a/src/printf.c +++ b/src/printf.c @@ -135,7 +135,7 @@ and all C format specifications ending with one of diouxXfeEgGcs, with\n\ ARGUMENTs converted to proper type first. Variable widths are handled.\n\ "), stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -1922,7 +1922,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ With no FILE or if FILE is -, read Standard Input. `-F /' by default.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -59,7 +59,7 @@ Print the full filename of the current working directory.\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/readlink.c b/src/readlink.c index 121c7ffcf..0961d235c 100644 --- a/src/readlink.c +++ b/src/readlink.c @@ -86,7 +86,7 @@ usage (int status) "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -204,7 +204,7 @@ Note that if you use rm to remove a file, it is usually possible to recover\n\ the contents of that file. If you want more assurance that the contents are\n\ truly unrecoverable, consider using shred.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/rmdir.c b/src/rmdir.c index 39063b4c7..5dd5a35a6 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -152,7 +152,7 @@ Remove the DIRECTORY(ies), if they are empty.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -98,7 +98,7 @@ FORMAT must be suitable for printing one argument of type `double';\n\ it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point\n\ decimal numbers with maximum precision PREC, and to %g otherwise.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/setuidgid.c b/src/setuidgid.c index 3a51225dc..27c4c7991 100644 --- a/src/setuidgid.c +++ b/src/setuidgid.c @@ -64,7 +64,7 @@ This program is useful only when run by root (user ID zero).\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/shred.c b/src/shred.c index 23a4944b0..fc6ad67f1 100644 --- a/src/shred.c +++ b/src/shred.c @@ -236,7 +236,7 @@ In addition, file system backups and remote mirrors may contain copies\n\ of the file that cannot be removed, and that will allow a shredded file\n\ to be recovered later.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/shuf.c b/src/shuf.c index bfc9f30a2..a40c88dd7 100644 --- a/src/shuf.c +++ b/src/shuf.c @@ -75,7 +75,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ With no FILE, or when FILE is -, read standard input.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); diff --git a/src/sleep.c b/src/sleep.c index 730b19d17..53bad0223 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -57,7 +57,7 @@ specified by the sum of their values.\n\ program_name, program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/sort.c b/src/sort.c index 58ca66a2e..ff021aa92 100644 --- a/src/sort.c +++ b/src/sort.c @@ -380,7 +380,7 @@ The locale specified by the environment affects sort order.\n\ Set LC_ALL=C to get the traditional sort order that uses\n\ native byte values.\n\ "), stdout ); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); diff --git a/src/split.c b/src/split.c index 1f0f3d727..2fc6ecfcf 100644 --- a/src/split.c +++ b/src/split.c @@ -133,7 +133,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/stat.c b/src/stat.c index ca8423677..29a222ac5 100644 --- a/src/stat.c +++ b/src/stat.c @@ -903,7 +903,7 @@ Valid format sequences for file systems:\n\ %T Type in human readable form\n\ "), stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/stty.c b/src/stty.c index 86a4bab45..ce0cb0cae 100644 --- a/src/stty.c +++ b/src/stty.c @@ -720,7 +720,7 @@ prints baud rate, line discipline, and deviations from stty sane. In\n\ settings, CHAR is taken literally, or coded as in ^c, 0x37, 0177 or\n\ 127; special values ^- or undef used to disable special characters.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -399,7 +399,7 @@ Change the effective user id and group id to that of USER.\n\ \n\ A mere - implies -l. If USER not given, assume root.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -72,7 +72,7 @@ Print checksum and block counts for each FILE.\n\ \n\ With no FILE, or when FILE is -, read standard input.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/sync.c b/src/sync.c index 5e94afbdd..ce3fc0531 100644 --- a/src/sync.c +++ b/src/sync.c @@ -49,7 +49,7 @@ Force changed blocks to disk, update the super block.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/system.h b/src/system.h index 763909bac..e72e4811b 100644 --- a/src/system.h +++ b/src/system.h @@ -581,3 +581,13 @@ ptr_align (void const *ptr, size_t alignment) || (Type) ((Accum) * 10 + (Digit_val)) < (Accum)) \ ? false : (((Accum) = (Accum) * 10 + (Digit_val)), true)) \ ) + +static inline void +emit_bug_reporting_address (void) +{ + /* TRANSLATORS: The placeholder indicates the bug-reporting address + for this package. Please add _another line_ saying + "Report translation bugs to <...>\n" with the address for translation + bugs (typically your translation team's web or email address). */ + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); +} @@ -149,7 +149,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/tail.c b/src/tail.c index 2582b9d69..210a68178 100644 --- a/src/tail.c +++ b/src/tail.c @@ -282,7 +282,7 @@ rotation). Use --follow=name in that case. That causes tail to track the\n\ named file by reopening it periodically to see if it has been removed and\n\ recreated by some other program.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -72,7 +72,7 @@ Copy standard input to each FILE, and also to standard output.\n\ \n\ If a FILE is -, copy again to standard output.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/test.c b/src/test.c index b25436b1f..fcb68ef37 100644 --- a/src/test.c +++ b/src/test.c @@ -774,7 +774,7 @@ Beware that parentheses need to be escaped (e.g., by backslashes) for shells.\n\ INTEGER may also be -l STRING, which evaluates to the length of STRING.\n\ "), stdout); printf (USAGE_BUILTIN_WARNING, _("test and/or [")); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/touch.c b/src/touch.c index a79c26d97..cb54f4828 100644 --- a/src/touch.c +++ b/src/touch.c @@ -260,7 +260,7 @@ Note that the -d and -t options accept different time-date formats.\n\ \n\ If a FILE is -, touch standard output.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -356,7 +356,7 @@ only be used in pairs to specify case conversion. \ translating nor deleting; else squeezing uses SET2 and occurs after\n\ translation or deletion.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/true.c b/src/true.c index 55490f90e..be20ed6d0 100644 --- a/src/true.c +++ b/src/true.c @@ -51,7 +51,7 @@ Usage: %s [ignored command line arguments]\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); exit (status); } diff --git a/src/tsort.c b/src/tsort.c index 939323213..cfb12acb6 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -91,7 +91,7 @@ With no FILE, or when FILE is -, read standard input.\n\ "), program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); @@ -74,7 +74,7 @@ Print the file name of the terminal connected to standard input.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/uname.c b/src/uname.c index 0715e07cd..7389d422e 100644 --- a/src/uname.c +++ b/src/uname.c @@ -133,7 +133,7 @@ Print certain system information. With no OPTION, same as -s.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/unexpand.c b/src/unexpand.c index cbceca0f4..051fe72e4 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -138,7 +138,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/uniq.c b/src/uniq.c index 6c38ed807..ac0840b03 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -167,7 +167,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ A field is a run of whitespace, then non-whitespace characters.\n\ Fields are skipped before chars.\n\ "), stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/unlink.c b/src/unlink.c index 725507649..beef5a5a9 100644 --- a/src/unlink.c +++ b/src/unlink.c @@ -54,7 +54,7 @@ Usage: %s FILE\n\ stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/uptime.c b/src/uptime.c index 6b2a7240a..c7bd7a453 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -205,7 +205,7 @@ If FILE is not specified, use %s. %s as FILE is common.\n\ UTMP_FILE, WTMP_FILE); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/users.c b/src/users.c index dba470113..8071acd92 100644 --- a/src/users.c +++ b/src/users.c @@ -114,7 +114,7 @@ If FILE is not specified, use %s. %s as FILE is common.\n\ UTMP_FILE, WTMP_FILE); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -126,7 +126,7 @@ read standard input.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -664,7 +664,7 @@ usage (int status) If FILE is not specified, use %s. %s as FILE is common.\n\ If ARG1 ARG2 given, -m presumed: `am i' or `mom likes' are usual.\n\ "), UTMP_FILE, WTMP_FILE); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } diff --git a/src/whoami.c b/src/whoami.c index c4a2b5e82..d1167164b 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -55,7 +55,7 @@ Same as id -un.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } @@ -55,7 +55,7 @@ Repeatedly output a line with all specified STRING(s), or `y'.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + emit_bug_reporting_address (); } exit (status); } |