summaryrefslogtreecommitdiff
path: root/posix/getopt1.c
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-03-31 07:39:55 -0400
committerZack Weinberg <zackw@panix.com>2017-04-07 07:46:50 -0400
commit7784135eb0de2d083bf3460c1386aee1c056e96e (patch)
tree49e103d2510009dfa21a4ad60ba1c428d93f0ee8 /posix/getopt1.c
parentbf079e19f50d64aa5e05b5e17ec29afab9aabb20 (diff)
downloadglibc-7784135eb0de2d083bf3460c1386aee1c056e96e.tar.gz
getopt: merge from gnulib: don't use `...' quotes
I'm not sure whether this is official GNU style now, but `...' quotes haven't looked properly balanced in most people's terminal fonts since 2001ish? and gnulib has chosen to switch over to '...' quotes. I'm merging this separately from the other changes in gnulib because it's very mechanical. * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h: Use '...' instead of `...' for quotation marks inside comments and strings.
Diffstat (limited to 'posix/getopt1.c')
-rw-r--r--posix/getopt1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/posix/getopt1.c b/posix/getopt1.c
index 09c69fd412..b9a853804a 100644
--- a/posix/getopt1.c
+++ b/posix/getopt1.c
@@ -34,7 +34,7 @@
Library, but also included in many other GNU distributions. Compiling
and linking in this code is a waste when using the GNU C library
(especially if it is a shared library). Rather than having every GNU
- program understand `configure --with-gnu-libc' and omit the object files,
+ program understand 'configure --with-gnu-libc' and omit the object files,
it is simpler to just do this in the source for each such file. */
#define GETOPT_INTERFACE_VERSION 2
@@ -161,11 +161,11 @@ main (int argc, char **argv)
break;
case 'c':
- printf ("option c with value `%s'\n", optarg);
+ printf ("option c with value '%s'\n", optarg);
break;
case 'd':
- printf ("option d with value `%s'\n", optarg);
+ printf ("option d with value '%s'\n", optarg);
break;
case '?':