summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrycja <github@ptrcnull.me>2022-03-09 15:42:21 +0100
committerGitHub <noreply@github.com>2022-03-09 22:42:21 +0800
commitbcb04de5afcf5532a110babfe3912b5725e7146b (patch)
treeb5081060ec5495b5c73e398347ab8925cf8d2d8f
parent06a18283262b851e6f5965bcdfa3bf2724495728 (diff)
downloadgettext-tiny-bcb04de5afcf5532a110babfe3912b5725e7146b.tar.gz
xgettext: fix --version output (#60)HEADmaster
"\n" in the printf parameter doesn't expand and the comma gets printed after format string
-rwxr-xr-xsrc/xgettext.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xgettext.sh b/src/xgettext.sh
index fc38369..b113c98 100755
--- a/src/xgettext.sh
+++ b/src/xgettext.sh
@@ -16,7 +16,7 @@ syntax() {
}
show_version() {
- printf "%s\n", "xgettext (GNU gettext-tools compatible) 99.9999.9999\n"
+ printf "%s\n" "xgettext (GNU gettext-tools-compatible) 99.99"
exit 0
}