summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-16 07:26:36 +0200
committerJim Meyering <meyering@redhat.com>2012-05-16 07:39:09 +0200
commite2bd5cda0a341b35c79ba1484bd71e932c74b456 (patch)
tree6426eb57a4d3ea9694fa0a883d71a11ec9ce7ed3 /src/fmt.c
parent1ab163ec071130aef814c262f109b1ac4721d054 (diff)
downloadcoreutils-e2bd5cda0a341b35c79ba1484bd71e932c74b456.tar.xz
maint: tell xgettext that fputs arg "93% of..." is not a C format string
* 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
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c2
1 files changed, 2 insertions, 0 deletions
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\