package mafiaclient;

/**
 * MafiaClient.java
 * Contains the MafiaClient class
 * @author Cory Gehr (cmg5573)
 */
public class MafiaClient {
    
    public static String HOST_NAME;
    public static int PORT_NUMBER = 65004;
    
    /**
     * main()
     * Entry point for the MafiaClient application
     * @param args Command Line arguments
     */
    public static void main(String[] args) {
        
        if(args.length > 0) {
            // Host name set
            HOST_NAME = args[0];
        } else {
            // Host name not set, run on localhost
            HOST_NAME = "localhost";
        }
        
        // Start client connection
        ClientServerConnectionStarter connection = 
                new ClientServerConnectionStarter(HOST_NAME, PORT_NUMBER);
        connection.start();
        
    }
}

@@ -428,11 +428,12 @@
 gth 
-%3E 0
+== 2
 ) %7B%0A
@@ -494,16 +494,69 @@
 rgs%5B0%5D;%0A
+            PORT_NUMBER = Integer.parseInt(args%5B1%5D);%0A
         
@@ -615,16 +615,16 @@
 calhost%0A
-
         
@@ -652,16 +652,49 @@
 lhost%22;%0A
+            PORT_NUMBER = 65004;%0A
         

Use CLI for arguments in client