shut up
This commit is contained in:
parent
d65d2145cf
commit
012ba02313
|
@ -9,7 +9,8 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="cf74c012-cc69-4732-ac79-9ddfcbf803ee" name="Changes" comment="cli args handling WIP">
|
||||
<list default="true" id="cf74c012-cc69-4732-ac79-9ddfcbf803ee" name="Changes" comment="shut up">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/net/screwgravity/vitality4j/standalone.java" beforeDir="false" afterPath="$PROJECT_DIR$/net/screwgravity/vitality4j/standalone.java" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
|
@ -114,7 +115,15 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1723521447461</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="7" />
|
||||
<task id="LOCAL-00007" summary="shut up">
|
||||
<option name="closed" value="true" />
|
||||
<created>1723521528643</created>
|
||||
<option name="number" value="00007" />
|
||||
<option name="presentableId" value="LOCAL-00007" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1723521528643</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="8" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
|
@ -125,6 +134,7 @@
|
|||
<MESSAGE value="brb, eating" />
|
||||
<MESSAGE value="back from taco hell" />
|
||||
<MESSAGE value="cli args handling WIP" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="cli args handling WIP" />
|
||||
<MESSAGE value="shut up" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="shut up" />
|
||||
</component>
|
||||
</project>
|
|
@ -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:
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user