From f5fdd2c14fc147e28f8f1f129443c6d57f9cf14f Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Mon, 2 Nov 2020 20:58:09 +0000 Subject: enchant.c: report output of --version/-v to stdout, not stderr This is the normal output, and may be required on stdout by clients. --- src/enchant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- cgit v1.2.1 From 96c327b42a948af690cc227240729657e1a54a92 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Mon, 2 Nov 2020 21:00:17 +0000 Subject: Bump version to 2.2.13 and add NEWS --- NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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]) -- cgit v1.2.1