doc: Use the new COMMANDLINE macro in every example
This commit is contained in:
@@ -54,7 +54,7 @@ main (int argc, char *argv[])
|
||||
bool useV6 = false;
|
||||
Address serverAddress;
|
||||
|
||||
CommandLine cmd;
|
||||
COMMANDLINE (cmd);
|
||||
cmd.AddValue ("useIpv6", "Use Ipv6", useV6);
|
||||
cmd.Parse (argc, argv);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user