clitracker #79

Merged
louis_royer merged 14 commits from clitracker into etape4 2020-03-24 17:34:21 +01:00
Showing only changes of commit 2313b6799d - Show all commits

View File

@ -44,7 +44,7 @@ public class Tracker {
Scanner scanner = new Scanner(System.in);
Tracker t;
System.out.println("Tracker Server, enter hostname to bind : ");
System.out.println("Tracker Server, enter hostname to bind (default = localhost): ");
String hostname = scanner.nextLine();
if(hostname.equals("")){
hostname = defaultHostname;
@ -52,7 +52,7 @@ public class Tracker {
} else{
System.out.println("using hostname : " + hostname);
}
System.out.println("enter port : ");
System.out.println("enter port (default = 6969): ");
String port = scanner.nextLine();
if(port.equals("")){
port = defaultPort;