summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS7
-rw-r--r--configure.ac2
-rw-r--r--src/enchant.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 189743a..cba66f8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,10 @@
+2.2.13 (November 2, 2020)
+-------------------------
+
+Make the enchant program output its version to standard output, not standard
+error. This may help some programs that use this output.
+
+
2.2.12 (October 15, 2020)
-------------------------
diff --git a/configure.ac b/configure.ac
index 2e4a07e..be1f1f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([enchant],[2.2.12])
+AC_INIT([enchant],[2.2.13])
AC_CONFIG_SRCDIR(src/enchant.h)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([subdir-objects])
diff --git a/src/enchant.c b/src/enchant.c
index 953e704..06f72ce 100644
--- a/src/enchant.c
+++ b/src/enchant.c
@@ -440,7 +440,7 @@ int main (int argc, char ** argv)
countLines = TRUE;
break;
case 'v':
- print_version (stderr);
+ print_version (stdout);
exit (0);
case 'm':
case 'B':