Revision da08d580
ID | da08d5802cc33e68cb62e79cb31686faa907a34f |
Added launch files for the demo and made a little change to the
argument checker to make them work.
scout/scoutsim/src/scoutsim.cpp | ||
---|---|---|
89 | 89 |
} |
90 | 90 |
|
91 | 91 |
// Check for incorrect usage |
92 |
if (argc != 2)
|
|
92 |
if (argc < 2)
|
|
93 | 93 |
{ |
94 | 94 |
cout << endl << "Error." << endl << endl; |
95 | 95 |
cout << "Usage: " << local_argv[0] << " <map name>" << endl; |
Also available in: Unified diff