From 36b9a1b6ac2730e78c14552fd55795fe10862a3d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 7 Jan 2012 18:30:14 +0100 Subject: maint: adjust quoting: emit '...', not `...' in diagnostics * src/csplit.c (parse_repeat_count, extract_regexp): As above. * src/date.c (main): Likewise. * src/ls.c (decode_switches): Likewise. * src/od.c (decode_one_format, main): Likewise. * src/pathchk.c (no_leading_hyphen): Likewise. * src/pr.c (main, getoptarg): Likewise. * src/rm.c (diagnose_leading_hyphen): Likewise. * src/sort.c (key_warnings, incompatible_options, main): Likewise. * src/stat.c (print_esc_char): Print '\x', not `\x' in diagnostic. * src/test.c (main): Likewise. * src/touch.c (main): Likewise. * src/tr.c (build_spec_list, validate, append_range): Likewise. * tests/misc/mktemp: This is an unusual case, since the affected string contains only the ` of an `...' string. So we change the long ` to a lone '. * tests/pr/pr-tests: Manual quote adapting fix-up. * tests/ln/hard-to-sym: Likewise. * tests/split/suffix-length: Likewise. * tests/mv/part-fail: Likewise. * tests/misc/chcon: Likewise. * tests/misc/stat-printf: Likewise. --- src/date.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/date.c') diff --git a/src/date.c b/src/date.c index 216d5db78..5fe80853b 100644 --- a/src/date.c +++ b/src/date.c @@ -451,9 +451,9 @@ main (int argc, char **argv) else if (set_date || option_specified_date) { error (0, 0, - _("the argument %s lacks a leading `+';\n" + _("the argument %s lacks a leading '+';\n" "when using an option to specify date(s), any non-option\n" - "argument must be a format string beginning with `+'"), + "argument must be a format string beginning with '+'"), quote (argv[optind])); usage (EXIT_FAILURE); } -- cgit v1.2.3-54-g00ecf