summaryrefslogtreecommitdiff
path: root/src/yes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/yes.c')
-rw-r--r--src/yes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yes.c b/src/yes.c
index 2b78ea51c..58a06d6a6 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -50,6 +50,9 @@ void
main (int argc, char **argv)
{
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
parse_long_options (argc, argv, "yes", version_string, usage);