From 2ee11887cdda6e55f6aecf349e89667d7262844c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 2 Jul 2002 09:09:10 +0000 Subject: [PATCH] (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. --- src/basename.c | 2 +- src/chroot.c | 2 +- src/date.c | 2 +- src/dirname.c | 2 +- src/echo.c | 2 +- src/env.c | 2 +- src/expr.c | 2 +- src/factor.c | 2 +- src/hostid.c | 2 +- src/hostname.c | 2 +- src/id.c | 2 +- src/kill.c | 2 +- src/logname.c | 2 +- src/nice.c | 2 +- src/pathchk.c | 2 +- src/pinky.c | 2 +- src/printenv.c | 2 +- src/printf.c | 2 +- src/pwd.c | 2 +- src/seq.c | 2 +- src/sleep.c | 2 +- src/stty.c | 2 +- src/su.c | 2 +- src/tee.c | 2 +- src/test.c | 2 +- src/true.c | 2 +- src/tty.c | 2 +- src/uname.c | 2 +- src/uptime.c | 2 +- src/users.c | 2 +- src/who.c | 2 +- src/whoami.c | 2 +- src/yes.c | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/basename.c b/src/basename.c index 8cd7400d9a..139b9e90c3 100644 --- a/src/basename.c +++ b/src/basename.c @@ -63,7 +63,7 @@ If specified, also remove a trailing SUFFIX.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/chroot.c b/src/chroot.c index edc2da58eb..7600875879 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -56,7 +56,7 @@ Run COMMAND with root directory set to NEWROOT.\n\ \n\ If no command is given, run ``${SHELL} -i'' (default: /bin/sh).\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/date.c b/src/date.c index 1c2c5e7428..ca541b1933 100644 --- a/src/date.c +++ b/src/date.c @@ -214,7 +214,7 @@ the following modifiers between `%' and a numeric directive.\n\ `-' (hyphen) do not pad the field\n\ `_' (underscore) pad the field with spaces\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/dirname.c b/src/dirname.c index ff6e617e34..6dfb0b3404 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -55,7 +55,7 @@ output `.' (meaning the current directory).\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/echo.c b/src/echo.c index 8dbe53b757..929f10106e 100644 --- a/src/echo.c +++ b/src/echo.c @@ -102,7 +102,7 @@ Without -E, the following sequences are recognized and interpolated:\n\ \\t horizontal tab\n\ \\v vertical tab\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/env.c b/src/env.c index e96c97c476..59bd03839d 100644 --- a/src/env.c +++ b/src/env.c @@ -131,7 +131,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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/expr.c b/src/expr.c index fc61dd821a..18000705d2 100644 --- a/src/expr.c +++ b/src/expr.c @@ -145,7 +145,7 @@ Comparisons are arithmetic if both ARGs are numbers, else lexicographical.\n\ Pattern matches return the string matched between \\( and \\) or null; if\n\ \\( and \\) are not used, they return the number of characters matched or 0.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/factor.c b/src/factor.c index 52f0ee9398..491f406f26 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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/hostid.c b/src/hostid.c index 744d7edb5f..21bbde7c62 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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/hostname.c b/src/hostname.c index 2171ff0532..fe4aeb682a 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -73,7 +73,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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/id.c b/src/id.c index 972d10206a..a4a2207d78 100644 --- a/src/id.c +++ b/src/id.c @@ -101,7 +101,7 @@ Print information for USERNAME, or the current user.\n\ \n\ Without any OPTION, print some useful set of identified information.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/kill.c b/src/kill.c index 38da475ae8..5f22a4fa89 100644 --- a/src/kill.c +++ b/src/kill.c @@ -116,7 +116,7 @@ SIGNAL may be a signal name like `HUP', or a signal number like `1',\n\ 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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/logname.c b/src/logname.c index 0d3fcf2d30..b3fe3eb170 100644 --- a/src/logname.c +++ b/src/logname.c @@ -52,7 +52,7 @@ Print the name of the current user.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/nice.c b/src/nice.c index 9d2099acfc..c7ff18d413 100644 --- a/src/nice.c +++ b/src/nice.c @@ -74,7 +74,7 @@ by default. Range goes from -20 (highest priority) to 19 (lowest).\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/pathchk.c b/src/pathchk.c index 3722b438c4..fa81b1b687 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -145,7 +145,7 @@ Diagnose unportable constructs in NAME.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/pinky.c b/src/pinky.c index 8df3cfb13f..6377d483bd 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -489,7 +489,7 @@ usage (int status) A lightweight `finger' program; print user information.\n\ The utmp file will be %s.\n\ "), UTMP_FILE); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/printenv.c b/src/printenv.c index a8526c6699..68608e1134 100644 --- a/src/printenv.c +++ b/src/printenv.c @@ -69,7 +69,7 @@ If no environment VARIABLE specified, print them all.\n\ program_name, program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/printf.c b/src/printf.c index d4fa81df68..8496446dce 100644 --- a/src/printf.c +++ b/src/printf.c @@ -138,7 +138,7 @@ FORMAT controls the output as in C printf. Interpreted sequences are:\n\ and all C format specifications ending with one of diouxXfeEgGcs, with\n\ ARGUMENTs converted to proper type first. Variable widths are handled.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/pwd.c b/src/pwd.c index ff0a8e06b3..7b941132c3 100644 --- a/src/pwd.c +++ b/src/pwd.c @@ -51,7 +51,7 @@ Print the full filename of the current working directory.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/seq.c b/src/seq.c index d152809bb4..6acb6115d7 100644 --- a/src/seq.c +++ b/src/seq.c @@ -101,7 +101,7 @@ INCREMENT should be positive if FIRST is smaller than LAST, and negative\n\ otherwise. When given, the FORMAT argument must contain exactly one of\n\ the printf-style, floating point output formats %e, %f, %g\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/sleep.c b/src/sleep.c index f76ee40770..57be102de9 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -80,7 +80,7 @@ point number.\n\ program_name, program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/stty.c b/src/stty.c index 632c3c468b..3fe28c0e2f 100644 --- a/src/stty.c +++ b/src/stty.c @@ -708,7 +708,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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/su.c b/src/su.c index 563489c539..65bb8b3fc5 100644 --- a/src/su.c +++ b/src/su.c @@ -447,7 +447,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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); close_stdout (); } exit (status); diff --git a/src/tee.c b/src/tee.c index d369678852..c71797a47f 100644 --- a/src/tee.c +++ b/src/tee.c @@ -69,7 +69,7 @@ Copy standard input to each FILE, and also to standard output.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/test.c b/src/test.c index 04ca2a21be..f7b16f27c8 100644 --- a/src/test.c +++ b/src/test.c @@ -1064,7 +1064,7 @@ EXPRESSION is true or false and sets exit status. It is one of:\n\ 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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/true.c b/src/true.c index c4a42dbcf9..004b77ef63 100644 --- a/src/true.c +++ b/src/true.c @@ -25,7 +25,7 @@ These option names may not be abbreviated.\n\ program_name, program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); exit (status); } diff --git a/src/tty.c b/src/tty.c index bc988ebca6..d61961c019 100644 --- a/src/tty.c +++ b/src/tty.c @@ -67,7 +67,7 @@ Print the file name of the terminal connected to standard input.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/uname.c b/src/uname.c index 8344669214..7b91f8af10 100644 --- a/src/uname.c +++ b/src/uname.c @@ -110,7 +110,7 @@ Print certain system information. With no OPTION, same as -s.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/uptime.c b/src/uptime.c index a684fa3dd0..ce39fead05 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -182,7 +182,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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/users.c b/src/users.c index 5a1bf1f721..6067724c6e 100644 --- a/src/users.c +++ b/src/users.c @@ -124,7 +124,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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/who.c b/src/who.c index 45efe795f6..156c7bc160 100644 --- a/src/who.c +++ b/src/who.c @@ -619,7 +619,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); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/whoami.c b/src/whoami.c index ec20bb67ac..d3d03d9057 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -57,7 +57,7 @@ Same as id -un.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } diff --git a/src/yes.c b/src/yes.c index 91fd0bd2dc..d743501fc2 100644 --- a/src/yes.c +++ b/src/yes.c @@ -58,7 +58,7 @@ Repeatedly output a line with all specified STRING(s), or `y'.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); } -- 2.47.3