From: Richard W.M. Jones Date: Sat, 23 Oct 2010 09:45:25 +0000 (+0100) Subject: fish: Quote optional argument name in error message. X-Git-Tag: 1.5.24~19 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ae748ba3c10ea93e7df03738c4e040fdb77e0c7c;p=libguestfs.git fish: Quote optional argument name in error message. --- diff --git a/generator/generator_fish.ml b/generator/generator_fish.ml index c5f2afa..b0772fc 100644 --- a/generator/generator_fish.ml +++ b/generator/generator_fish.ml @@ -465,7 +465,7 @@ Guestfish will prompt for these separately." pr " }\n"; pr "\n"; pr " if (optargs_s.bitmask & this_mask) {\n"; - pr " fprintf (stderr, _(\"%%s: optional argument %%s given twice\\n\"),\n"; + pr " fprintf (stderr, _(\"%%s: optional argument \\\"%%s\\\" given twice\\n\"),\n"; pr " cmd, this_arg);\n"; pr " return -1;\n"; pr " }\n";