[gnome-klotski] Print --version output to stdout.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski] Print --version output to stdout.
- Date: Sun, 11 Oct 2015 02:33:21 +0000 (UTC)
commit 68f2b37db1fa9328a07e80b418ec750956350ca5
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Oct 11 04:32:04 2015 +0200
Print --version output to stdout.
src/gnome-klotski.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-klotski.vala b/src/gnome-klotski.vala
index f1adff7..fee3392 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -478,7 +478,7 @@ public class Klotski : Gtk.Application
if (options.contains ("version"))
{
/* NOTE: Is not translated so can be easily parsed */
- stderr.printf ("%1$s %2$s\n", "gnome-klotski", VERSION);
+ stdout.printf ("%1$s %2$s\n", "gnome-klotski", VERSION);
return Posix.EXIT_SUCCESS;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]