From e2bd5cda0a341b35c79ba1484bd71e932c74b456 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 16 May 2012 07:26:36 +0200 Subject: maint: tell xgettext that fputs arg "93% of..." is not a C format string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * src/fmt.c (usage): Add a comment to tell xgettext that the "% o" in fputs argument string of "...93% of..." is not a C format string. Reported by Toomas Soome, Göran Uddeborg, Petr Pisar, Primoz PETERLIN and Chusslove Illich via http://bugs.gnu.org/11470 --- src/fmt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fmt.c') diff --git a/src/fmt.c b/src/fmt.c index 3da198e16..3e936547e 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -283,6 +283,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -s, --split-only split long lines, but do not refill\n\ "), stdout); + /* Tell xgettext that the "% o" below is not a printf-style + format string: xgettext:no-c-format */ fputs (_("\ -t, --tagged-paragraph indentation of first line different from second\n\ -u, --uniform-spacing one space between words, two after sentences\n\ -- cgit v1.2.3-54-g00ecf