- enum quoting_style saved_quoting_style;
-
- /* Make sure to have a good quoting style to report errors.
- literal is insane here. */
- saved_quoting_style = get_quoting_style (NULL);
- set_quoting_style (NULL, ARGMATCH_QUOTING_STYLE);
-
- /* There is an error */
- fprintf (stderr, "%s: ", program_name);
- if (problem == -1)
- fprintf (stderr, _("invalid argument %s for `%s'"),
- quotearg (value), kind);
- else /* Assume -2. */
- fprintf (stderr, _("ambiguous argument %s for `%s'"),
- quotearg (value), kind);
- putc ('\n', stderr);
+ char const *format = (problem == -1
+ ? _("invalid argument %s for %s")
+ : _("ambiguous argument %s for %s"));