changeset 845:a9199b5e52ce

(_getopt_internal): Use `_', rather than the (sometimes-)expansion `gettext'.
author Jim Meyering <jim@meyering.net>
date Wed, 08 Jan 1997 22:40:00 +0000
parents b877b95a48b0
children 333336dc60b3
files lib/getopt.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -764,7 +764,7 @@
 	      {
 		/* 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 @@
 	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 @@
 		  {
 		    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 @@
 		  {
 		    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] == ':' ? ':' : '?';