summaryrefslogtreecommitdiff
path: root/src/pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwd.c')
-rw-r--r--src/pwd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pwd.c b/src/pwd.c
index 54c21ad5e..bbcde3b77 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -36,17 +36,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 full filename of the current working directory.\n\
\n\
--help display this help and exit\n\
--version output version information and exit\n\
-");
+"));
}
exit (status);
}
@@ -63,11 +63,11 @@ main (argc, argv)
parse_long_options (argc, argv, "pwd", version_string, usage);
if (argc != 1)
- error (0, 0, "ignoring non-option arguments");
+ error (0, 0, _("ignoring non-option arguments"));
wd = xgetcwd ();
if (wd == NULL)
- error (1, errno, "cannot get current directory");
+ error (1, errno, _("cannot get current directory"));
printf ("%s\n", wd);
exit (0);