aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-10 07:51:20 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-10 07:51:20 +1000
commit28f65c07b0040b89128dbe9fd65a1264bb416bdf (patch)
tree807911de022216216c9496ba2fb257c012ba5d8f
parent18279c3867f971666e953e2cecc41b1a61d2107c (diff)
Use consistent quoting in wgetopt
darcs-hash:20060209215120-ac50b-4dda64a6791be33b6493899714485d55372ca8ea.gz
-rw-r--r--wgetopt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/wgetopt.c b/wgetopt.c
index 72b1ea5b..c6bf2a6f 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"";