Skip to content
Snippets Groups Projects
Commit 3a91fc24 authored by Roger W Feese's avatar Roger W Feese
Browse files

Add simple argument check.

parent 4543a8a7
Branches master
No related tags found
No related merge requests found
...@@ -10,6 +10,10 @@ public class HttpsTest{ ...@@ -10,6 +10,10 @@ public class HttpsTest{
public static void main(String [] args){ public static void main(String [] args){
//System.out.println(args[0]); //System.out.println(args[0]);
if(args.length < 1){
System.out.println("Usage: [https_test] <URL>");
System.exit(1);
}
try{ try{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment