added commentary on default options
This commit is contained in:
parent
f95f4245a5
commit
2313b6799d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user