fish: Quote optional argument name in error message.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 23 Oct 2010 09:45:25 +0000 (10:45 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 23 Oct 2010 09:45:25 +0000 (10:45 +0100)
generator/generator_fish.ml

index c5f2afa..b0772fc 100644 (file)
@@ -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";