diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 3225302..c1225a3 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -9,7 +9,8 @@
-
+
+
@@ -114,7 +115,15 @@
1723521447461
-
+
+
+ 1723521528643
+
+
+
+ 1723521528643
+
+
@@ -125,6 +134,7 @@
-
+
+
\ No newline at end of file
diff --git a/net/screwgravity/vitality4j/standalone.java b/net/screwgravity/vitality4j/standalone.java
index d4ab1ed..47ab427 100644
--- a/net/screwgravity/vitality4j/standalone.java
+++ b/net/screwgravity/vitality4j/standalone.java
@@ -48,6 +48,7 @@ public class standalone {
printHelpScreen();
System.exit(0);
}
+ int i = 0;
for (String s : args) {
if (!argIsTakingParam) { // The options
switch (s) {
@@ -128,21 +129,37 @@ public class standalone {
makeCaseInsensitive = true;
break;
default:
- System.out.println("invalid option: " + s);
- System.exit(1);
- break;
+ if ((args.length - 1) == i && (!s.startsWith("-") || s.endsWith(".psarc"))) {
+ targetPath = s;
+ } else {
+ System.out.println("invalid option: " + s);
+ System.exit(1);
+ break;
+ }
}
} else { // And then the options for those options
switch (argWhichIsTakingParam) {
case "":
}
}
+ i++;
}
if (verbosity != Verbosities.QUIET) {
System.out.println("INFO: absolute mode is " + makeAbsolute);
System.out.println("INFO: case insensitive mode is " + makeCaseInsensitive);
}
+
+ if () {
+
+ }
+
+ switch (operation) {
+ default:
+ System.out.println("No valid operation specified. Exiting.");
+ System.exit(0);
+ break;
+ }
}
}