X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=judge%2Fmanager%2Fmain.cpp;h=08c381ce9492421599ed02e6b73ac6128fcb46e7;hp=83b3c6318052f1143fec71186f5002f5639b03da;hb=73d5a5dab8881b9ed5f93a675d64f86a9b45e6bc;hpb=4d45373e18e4d5dc84adb373cdc9000f83dfe38a diff --git a/judge/manager/main.cpp b/judge/manager/main.cpp index 83b3c63..08c381c 100644 --- a/judge/manager/main.cpp +++ b/judge/manager/main.cpp @@ -242,7 +242,10 @@ Piece::Colour SetupGame(int argc, char ** argv) } else if (red == NULL || blue == NULL) //Not enough players { - fprintf(stderr, "ARGUMENT_ERROR - Did not recieve enough players (did you mean to use the -f switch?)\n"); + if (client) + fprintf(stderr, "ARGUMENT_ERROR - When using the --client switch, supply an IP for the Red player.\n"); + else + fprintf(stderr, "ARGUMENT_ERROR - Did not recieve enough players (did you mean to use the -f switch?)\n"); exit(EXIT_FAILURE); }