Skip to content

Commit

Permalink
Add version & fix if something other than f or c ...
Browse files Browse the repository at this point in the history
is entered
  • Loading branch information
loserskater committed Mar 25, 2015
1 parent 85c1b09 commit 2c0986b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/loserskater/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

public class Main extends Application {

private static final String VERSION = "0.1";

private static final int SOURCE_XML = 0;
private static final int PORT_XML = 1;
private static final int SOURCE_SMALI = 2;
Expand Down Expand Up @@ -107,6 +109,8 @@ public void start(final Stage stage) throws Exception {
cmdFind();
} else if (parameters.get(CL_COMMAND_TYPE).equalsIgnoreCase("c") || parameters.get(CL_COMMAND_TYPE).equalsIgnoreCase("convert")) {
cmdConvert();
} else {
showUsage();
}
} else {
showUsage();
Expand Down

0 comments on commit 2c0986b

Please sign in to comment.