Skip to content
Snippets Groups Projects
Commit c264f6d3 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

more verbose jargon in help line

parent f690c26a
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ public class AllPduReceiver ...@@ -52,7 +52,7 @@ public class AllPduReceiver
} }
else else
{ {
System.out.println("Usage: AllPduReceiver <multicast group> <port>"); System.out.println("Usage: AllPduReceiver <multicast group address> <port>");
System.out.println("Default: AllPduReceiver " + DEFAULT_MULTICAST_ADDRESS + " " + DEFAULT_MULTICAST_PORT); System.out.println("Default: AllPduReceiver " + DEFAULT_MULTICAST_ADDRESS + " " + DEFAULT_MULTICAST_PORT);
multicastSocket = new MulticastSocket(DEFAULT_MULTICAST_PORT); multicastSocket = new MulticastSocket(DEFAULT_MULTICAST_PORT);
multicastInetAddress = InetAddress.getByName(DEFAULT_MULTICAST_ADDRESS); multicastInetAddress = InetAddress.getByName(DEFAULT_MULTICAST_ADDRESS);
......
...@@ -541,13 +541,13 @@ public class AllPduSender ...@@ -541,13 +541,13 @@ public class AllPduSender
if (args.length == 2) if (args.length == 2)
{ {
System.out.println("Usage: AllPduSender <multicast group> <port>"); System.out.println("Usage: AllPduSender <multicast group address> <port>");
System.out.println("Actual: AllPduSender " + multicastInetAddress.getHostAddress() + " " + port); System.out.println("Actual: AllPduSender " + multicastInetAddress.getHostAddress() + " " + port);
allPduSender = new AllPduSender(args[0], Integer.parseInt(args[1])); allPduSender = new AllPduSender(args[0], Integer.parseInt(args[1]));
} }
else else
{ {
System.out.println("Usage: AllPduSender <multicast group> <port>"); System.out.println("Usage: AllPduSender <multicast group address> <port>");
System.out.println("Default: AllPduSender " + DEFAULT_MULTICAST_ADDRESS + " " + DEFAULT_MULTICAST_PORT); System.out.println("Default: AllPduSender " + DEFAULT_MULTICAST_ADDRESS + " " + DEFAULT_MULTICAST_PORT);
allPduSender = new AllPduSender(DEFAULT_MULTICAST_ADDRESS, DEFAULT_MULTICAST_PORT); allPduSender = new AllPduSender(DEFAULT_MULTICAST_ADDRESS, DEFAULT_MULTICAST_PORT);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment