summaryrefslogtreecommitdiff
path: root/src/whoami.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-08-08 04:37:34 +0000
committerJim Meyering <jim@meyering.net>1995-08-08 04:37:34 +0000
commitf0556f35178beb8c540370d8ea6fb2d7fcf187ab (patch)
treeb6b9b9a07d56b90ef84b02bdf892b3580b16767b /src/whoami.c
parent6b853ebe011e7fb5557ed06e9d15af456a2d4710 (diff)
downloadcoreutils-f0556f35178beb8c540370d8ea6fb2d7fcf187ab.tar.xz
Annotate localizable strings with _(...). From Franc,ois.
Diffstat (limited to 'src/whoami.c')
-rw-r--r--src/whoami.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/whoami.c b/src/whoami.c
index 0b4847993..2a7b45e65 100644
--- a/src/whoami.c
+++ b/src/whoami.c
@@ -48,17 +48,17 @@ usage (status)
int status;
{
if (status != 0)
- fprintf (stderr, "Try `%s --help' for more information.\n",
+ fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else
{
- printf ("Usage: %s [OPTION]...\n", program_name);
- printf ("\
+ printf (_("Usage: %s [OPTION]...\n"), program_name);
+ printf (_("\
Print the user name associated with the current effective user id.\n\
Same as id -un.\n\
\n\
--help display this help and exit\n\
- --version output version information and exit\n");
+ --version output version information and exit\n"));
}
exit (status);
}
@@ -106,7 +106,7 @@ main (argc, argv)
puts (pw->pw_name);
exit (0);
}
- fprintf (stderr, "%s: cannot find username for UID %u\n",
+ fprintf (stderr, _("%s: cannot find username for UID %u\n"),
program_name, (unsigned) uid);
exit (1);
}