diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-08 22:40:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-08 22:40:00 +0000 |
commit | 4ffe108e39b21ed6e4d1b93e4295c207f73daa81 (patch) | |
tree | 3e79eb97d0dc6789dee94079119f74b1eaebf0c7 /lib | |
parent | 7290a43da97c79d141ec2c0f67f61eb8bb388fc3 (diff) | |
download | coreutils-4ffe108e39b21ed6e4d1b93e4295c207f73daa81.tar.xz |
(_getopt_internal): Use `_', rather than the (sometimes-)expansion `gettext'.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getopt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/getopt.c b/lib/getopt.c index 2df545a89..2cd44c486 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -764,7 +764,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) { /* 1003.2 specifies the format of this message. */ fprintf (stderr, - gettext ("%s: option requires an argument -- %c\n"), + _ ("%s: option requires an argument -- %c\n"), argv[0], c); } optopt = c; @@ -811,7 +811,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) if (ambig && !exact) { if (opterr) - fprintf (stderr, gettext ("%s: option `-W %s' is ambiguous\n"), + fprintf (stderr, _ ("%s: option `-W %s' is ambiguous\n"), argv[0], argv[optind]); nextchar += strlen (nextchar); optind++; @@ -830,8 +830,8 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) { if (opterr) fprintf (stderr, - gettext ("%s: option `-W %s' doesn't allow an argument\n"), - argv[0], pfound->name); + _ ("%s: option `-W %s' doesn't allow an argument\n"), + argv[0], pfound->name); nextchar += strlen (nextchar); return '?'; @@ -845,7 +845,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) { if (opterr) fprintf (stderr, - gettext ("%s: option `%s' requires an argument\n"), + _ ("%s: option `%s' requires an argument\n"), argv[0], argv[optind - 1]); nextchar += strlen (nextchar); return optstring[0] == ':' ? ':' : '?'; |