File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ void promptDimensions(unsigned short & w, unsigned short & h);
3131int main (int argc, char ** argv) {
3232 srand (time (NULL )); // For all non-seeded randomness.
3333
34- if (argc == 1 ) {
35- std::cout << " You've provided the environment with no arguments.\n "
36- << " If this was intentional, please ignore this message.\n "
37- << " Else, please use the --help flag for usage details.\n " ;
38- }
39-
4034 Networking networking;
4135 std::vector<std::string> * names = NULL ;
4236 unsigned int id = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::high_resolution_clock ().now ().time_since_epoch ()).count ();
@@ -105,7 +99,8 @@ int main(int argc, char ** argv) {
10599 }
106100 else {
107101 if (unlabeledArgs.size () < 1 ) {
108- std::cout << " Please provide the launch command string for at least one bot." << std::endl;
102+ std::cout << " Please provide the launch command string for at least one bot." << std::endl
103+ << " Use the --help flag for usage details.\n " ;
109104 exit (1 );
110105 }
111106 try {
You can’t perform that action at this time.
0 commit comments