From 28f65c07b0040b89128dbe9fd65a1264bb416bdf Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 10 Feb 2006 07:51:20 +1000 Subject: [PATCH] Use consistent quoting in wgetopt darcs-hash:20060209215120-ac50b-4dda64a6791be33b6493899714485d55372ca8ea.gz --- wgetopt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wgetopt.c b/wgetopt.c index 72b1ea5b4..c6bf2a6f0 100644 --- a/wgetopt.c +++ b/wgetopt.c @@ -534,7 +534,7 @@ int long_only; if (ambig && !exact) { if (wopterr) - fwprintf (stderr, _(L"%ls: Option `%ls' is ambiguous\n"), + fwprintf (stderr, _(L"%ls: Option '%ls' is ambiguous\n"), argv[0], argv[woptind]); nextchar += wcslen (nextchar); woptind++; @@ -558,12 +558,12 @@ int long_only; if (argv[woptind - 1][1] == '-') /* --option */ fwprintf (stderr, - _(L"%ls: Option `--%ls' doesn't allow an argument\n"), + _(L"%ls: Option '--%ls' doesn't allow an argument\n"), argv[0], pfound->name); else /* +option or -option */ fwprintf (stderr, - _(L"%ls: Option `%lc%ls' doesn't allow an argument\n"), + _(L"%ls: Option '%lc%ls' doesn't allow an argument\n"), argv[0], argv[woptind - 1][0], pfound->name); } nextchar += wcslen (nextchar); @@ -577,7 +577,7 @@ int long_only; else { if (wopterr) - fwprintf (stderr, _(L"%ls: Option `%ls' requires an argument\n"), + fwprintf (stderr, _(L"%ls: Option '%ls' requires an argument\n"), argv[0], argv[woptind - 1]); nextchar += wcslen (nextchar); return optstring[0] == ':' ? ':' : '?'; @@ -605,11 +605,11 @@ int long_only; { if (argv[woptind][1] == '-') /* --option */ - fwprintf (stderr, _(L"%ls: Unrecognized option `--%ls'\n"), + fwprintf (stderr, _(L"%ls: Unrecognized option '--%ls'\n"), argv[0], nextchar); else /* +option or -option */ - fwprintf (stderr, _(L"%ls: Unrecognized option `%lc%ls'\n"), + fwprintf (stderr, _(L"%ls: Unrecognized option '%lc%ls'\n"), argv[0], argv[woptind][0], nextchar); } nextchar = (wchar_t *) L"";