From: Doni Pracner Date: Sun, 27 Jul 2014 22:42:05 +0000 (+0200) Subject: minor - use System.err for error messages X-Git-Tag: v0.2.0~20 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=91b863207c21295ff02240fffa877097a2b66817;p=mjc2wsl.git minor - use System.err for error messages --- diff --git a/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java b/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java index 3eac782..68fd2a1 100644 --- a/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java +++ b/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java @@ -832,13 +832,13 @@ public class mjc2wsl{ } if (i >= args.length) { - System.out.println("no filename supplied"); + System.err.println("no filename supplied"); System.exit(2); } Path p = FileSystems.getDefault().getPath(args[i]); if (!Files.exists(p)){ - System.out.println("input file does not exist"); + System.err.println("input file does not exist"); System.exit(1); }