summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-01-05 23:44:15 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-01-05 23:44:47 -0800
commit04c1ac696211fdbc9b2dcd0790c352ddb0e9402c (patch)
treeea19d9dbc1fe5d60d08d2100d190ecd1d3ca5635 /lib
parent9bbbd8bf098ef3bb05eccb0cac204742945f6a49 (diff)
downloadgnulib-04c1ac696211fdbc9b2dcd0790c352ddb0e9402c.tar.gz
Use ', not `, for quoting output.
* build-aux/announce-gen (usage, sizes, print_news_deltas) (print_changelog_deltas, get_tool_versions, main program): * build-aux/git-version-gen: * build-aux/gitlog-to-changelog (usage, parse_amend_file): * build-aux/move-if-change (help): * build-aux/useless-if-before-free (usage, main program): * check-module (parse_module_file, usage) (find_included_lib_files, check_module): * lib/argmatch.c (main) [TEST]: * lib/argp-help.c (_help): * lib/getopt1.c (main) [TEST]: * lib/git-merge-changelog.c (usage): * lib/xstrtol-error.c (xstrtol_error): * m4/alloca.m4 (_AC_LIBOBJ_ALLOCA): * m4/argz.m4 (gl_FUNC_ARGZ): * m4/bison.m4 (gl_BISON): * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): * m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER): * m4/fpending.m4 (gl_PREREQ_FPENDING): * m4/gc-random.m4 (gl_GC_RANDOM): * m4/intl.m4 (gt_CHECK_DECL): * m4/link-follow.m4 (gl_FUNC_LINK_FOLLOWS_SYMLINK): * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT) (AC_TYPE_UNSIGNED_LONG_LONG_INT): * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): * m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): * m4/onceonly.m4 (AC_CHECK_FUNCS_ONCE): * m4/posixver.m4 (gl_DEFAULT_POSIX2_VERSION): * tests/test-dirname.c (main): * tests/test-getpass.c (main): * tests/test-iconvme.c (main): * tests/test-parse-datetime.c (LOG): * tests/test-xstrtoimax.sh: * tests/test-xstrtol.sh: * tests/test-xstrtoll.sh: * tests/test-xstrtoumax.sh: * tests/unigbrk/test-uc-is-grapheme-break.c (main): * top/GNUmakefile (abort-due-to-no-makefile): Quote 'like this', not `like this', as per the recent change to the GNU coding standards.
Diffstat (limited to 'lib')
-rw-r--r--lib/argmatch.c2
-rw-r--r--lib/argp-help.c2
-rw-r--r--lib/getopt1.c4
-rw-r--r--lib/git-merge-changelog.c2
-rw-r--r--lib/xstrtol-error.c6
5 files changed, 8 insertions, 8 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c
index 3f04ffe639..ecffc7cc74 100644
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -269,7 +269,7 @@ main (int argc, const char *const *argv)
backup_type = XARGMATCH (program_name, argv[1],
backup_args, backup_vals);
- printf ("The version control is `%s'\n",
+ printf ("The version control is '%s'\n",
ARGMATCH_TO_ARGUMENT (backup_type, backup_args, backup_vals));
return 0;
diff --git a/lib/argp-help.c b/lib/argp-help.c
index e55c8a626b..b5f2581d0d 100644
--- a/lib/argp-help.c
+++ b/lib/argp-help.c
@@ -1681,7 +1681,7 @@ _help (const struct argp *argp, const struct argp_state *state, FILE *stream,
if (flags & ARGP_HELP_SEE)
{
__argp_fmtstream_printf (fs, dgettext (argp->argp_domain, "\
-Try `%s --help' or `%s --usage' for more information.\n"),
+Try '%s --help' or '%s --usage' for more information.\n"),
name, name);
anything = 1;
}
diff --git a/lib/getopt1.c b/lib/getopt1.c
index 7cf41c862f..fb2a8f5a7b 100644
--- a/lib/getopt1.c
+++ b/lib/getopt1.c
@@ -141,11 +141,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 '?':
diff --git a/lib/git-merge-changelog.c b/lib/git-merge-changelog.c
index 652b40a72d..aac30328ad 100644
--- a/lib/git-merge-changelog.c
+++ b/lib/git-merge-changelog.c
@@ -963,7 +963,7 @@ static void
usage (int status)
{
if (status != EXIT_SUCCESS)
- fprintf (stderr, "Try `%s --help' for more information.\n",
+ fprintf (stderr, "Try '%s --help' for more information.\n",
program_name);
else
{
diff --git a/lib/xstrtol-error.c b/lib/xstrtol-error.c
index 8f6e2b00a9..ce96ef6c65 100644
--- a/lib/xstrtol-error.c
+++ b/lib/xstrtol-error.c
@@ -60,16 +60,16 @@ xstrtol_error (enum strtol_error err,
abort ();
case LONGINT_INVALID:
- msgid = N_("invalid %s%s argument `%s'");
+ msgid = N_("invalid %s%s argument '%s'");
break;
case LONGINT_INVALID_SUFFIX_CHAR:
case LONGINT_INVALID_SUFFIX_CHAR_WITH_OVERFLOW:
- msgid = N_("invalid suffix in %s%s argument `%s'");
+ msgid = N_("invalid suffix in %s%s argument '%s'");
break;
case LONGINT_OVERFLOW:
- msgid = N_("%s%s argument `%s' too large");
+ msgid = N_("%s%s argument '%s' too large");
break;
}