From bb1322473225e12fb0b5f0b3e92e0f6b30704156 Mon Sep 17 00:00:00 2001 From: kana0011 Date: Fri, 29 Jul 2016 11:28:11 +0800 Subject: [PATCH] Fix --version bug Signed-off-by: kana0011 --- src/ph/kana/csvv/CsvViewerJavaFx.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ph/kana/csvv/CsvViewerJavaFx.java b/src/ph/kana/csvv/CsvViewerJavaFx.java index 738566b..26c01f0 100644 --- a/src/ph/kana/csvv/CsvViewerJavaFx.java +++ b/src/ph/kana/csvv/CsvViewerJavaFx.java @@ -36,7 +36,8 @@ public void start(Stage primaryStage) throws Exception { public static void main(String[] args) { if (args.length == 1 && "--version".equals(args[0])) { System.out.println(APP_NAME); - System.out.print(VERSION); + System.out.println(VERSION); + System.exit(0); } else { launch(args); }