From ae748ba3c10ea93e7df03738c4e040fdb77e0c7c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 23 Oct 2010 10:45:25 +0100 Subject: [PATCH] fish: Quote optional argument name in error message. --- generator/generator_fish.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 1.8.3.1