summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/keyword.patch
blob: 417f8c80a3399643c0fa3f09a4a15bff816afc32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/msgfmt.c b/src/msgfmt.c
index 1120ff6..f75ab8b 100644
--- a/src/msgfmt.c
+++ b/src/msgfmt.c
@@ -333,6 +333,8 @@ int main(int argc, char**argv) {
 						mode = m_desktop;
 					} else if(streq(A+2, "xml")) {
 						mode = m_xml;
+					} else if(streq(A+2, "keyword")) {
+						arg++;
 					} else if((locale = strstarts(A+2, "locale="))) {
 					} else if(streq(A+2, "check")) {
 						strict = true;