argmatch: don't hard-code `' when listing valid option arguments
authorJim Meyering <meyering@redhat.com>
Mon, 12 Dec 2011 09:57:17 +0000 (10:57 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 12 Dec 2011 09:57:17 +0000 (10:57 +0100)
commitf5c2e2ac7d4ca2f6ba15e56a245f348899360a00
tree7bac39fbf3ca0b253798ca0d6e9768e847f7eb33
parent7c251266b25bc720104c05c6a15736d52323c058
argmatch: don't hard-code `' when listing valid option arguments

* lib/argmatch.c (argmatch_valid): Don't hard-code `%s'.  Instead,
use the quote function to add quotes.  Use fputs rather than
fprintf for the format string with no format directive.
ChangeLog
lib/argmatch.c