summaryrefslogtreecommitdiff
path: root/src/printenv.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-07 16:54:26 +0100
committerJim Meyering <meyering@redhat.com>2012-01-07 16:54:26 +0100
commit101d1203c667ec3ab54a026dde43117563d4e944 (patch)
treeb2391c4041f3122458342b77ba55f5f766ab67e5 /src/printenv.c
parent22af6d97526e52e1fc14a86d811c92e421a67577 (diff)
downloadcoreutils-101d1203c667ec3ab54a026dde43117563d4e944.tar.gz
coreutils-101d1203c667ec3ab54a026dde43117563d4e944.tar.bz2
coreutils-101d1203c667ec3ab54a026dde43117563d4e944.zip
maint: use new emit_try_help in place of equivalent fprintf
Run this command: perl -0777 -pi -e \ 's/fprintf \(stderr, _\("Try `%s --help.*\n.*;/emit_try_help ();/m'\ src/*.c
Diffstat (limited to 'src/printenv.c')
-rw-r--r--src/printenv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/printenv.c b/src/printenv.c
index b23639636..809f0e0e6 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -56,8 +56,7 @@ void
usage (int status)
{
if (status != EXIT_SUCCESS)
- fprintf (stderr, _("Try `%s --help' for more information.\n"),
- program_name);
+ emit_try_help ();
else
{
printf (_("\