Changed usage info.

This commit is contained in:
Deathsbreed 2014-11-06 09:15:21 -06:00
parent d2959fbfa1
commit bb94770127
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public class Client implements Runnable {
public static void main(String[] args) {
if(args.length != 2) {
System.out.println("Usage: java Client [server] [port]");
System.out.println("Usage: consolechat-client [server] [port]");
} else {
new Client(args[0], Integer.parseInt(args[1]));
}

View File

@ -24,7 +24,7 @@ public class Server implements Runnable {
public static void main(String[] args) {
if(args.length != 1) {
System.out.println("You are using the program incorrectly.");
System.out.println("Usage: consolechat-server [port]");
} else {
new Server(Integer.parseInt(args[0]));
}