Skip to content

Commit

Permalink
show error if filename has space or does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
androidlover5842 committed Apr 21, 2018
1 parent 9025772 commit 9b730f1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: com.github.twrpbuilder.MainActivity

14 changes: 14 additions & 0 deletions src/main/java/com/github/twrpbuilder/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,14 @@ public static void usePosixParser(final String[] commandLineArguments)
new Thread(new RunCode(g)).start();
}
}
else {
System.out.println("Please remove spaces from filename. ");
}
}
else
{
System.out.println(g+" does not exist .");
}
}

if(commandLine.hasOption("h"))
Expand Down Expand Up @@ -106,7 +113,14 @@ public static void usePosixParser(final String[] commandLineArguments)
new Thread(new RunCode(g)).start();
}
}
else {
System.out.println("Please remove spaces from filename. ");
}
}
else
{
System.out.println(g+" does not exist .");
}
}
if (commandLine.hasOption("l"))
{
Expand Down

0 comments on commit 9b730f1

Please sign in to comment.