[iagno] Print --version output to stdout.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Print --version output to stdout.
- Date: Tue, 18 Aug 2015 02:13:08 +0000 (UTC)
commit 920eedd4164f5f0ef2dd6521a13d8b727aad2175
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Aug 18 04:05:21 2015 +0200
Print --version output to stdout.
https://bugzilla.gnome.org/show_bug.cgi?id=751694
src/iagno.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index ab69359..abc69d2 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -101,7 +101,7 @@ public class Iagno : Gtk.Application
if (options.contains ("version"))
{
/* NOTE: Is not translated so can be easily parsed */
- stderr.printf ("%1$s %2$s\n", "iagno", VERSION);
+ stdout.printf ("%1$s %2$s\n", "iagno", VERSION);
return Posix.EXIT_SUCCESS;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]