[Swift-commit] r6403 - trunk/src/org/griphyn/vdl/karajan
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Fri Mar 22 17:00:32 CDT 2013
Author: ketan
Date: 2013-03-22 17:00:32 -0500 (Fri, 22 Mar 2013)
New Revision: 6403
Modified:
trunk/src/org/griphyn/vdl/karajan/Loader.java
Log:
print version before exit if no Swift script provided
Modified: trunk/src/org/griphyn/vdl/karajan/Loader.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/Loader.java 2013-03-19 19:15:33 UTC (rev 6402)
+++ trunk/src/org/griphyn/vdl/karajan/Loader.java 2013-03-22 22:00:32 UTC (rev 6403)
@@ -119,7 +119,8 @@
new Monitor().start();
}
if (!ap.hasValue(ArgumentParser.DEFAULT)) {
- error("No SwiftScript program specified");
+ version();
+ error("No Swift script specified");
}
project = ap.getStringValue(ArgumentParser.DEFAULT);
}
More information about the Swift-commit
mailing list