check for correct number of arguments (Thanks Dane!)
This commit is contained in:
parent
5637c2f92a
commit
f35d87f685
@ -50,7 +50,7 @@ typedef http::server<StaticGraph<EdgeData> > server;
|
||||
*/
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
if(argc < 5)
|
||||
if(argc < 6)
|
||||
{
|
||||
cerr << "Correct usage:" << endl << argv[0] << " <hsgr data> <nodes data> <ram index> <file index> <names data>" << endl;
|
||||
exit(-1);
|
||||
|
Loading…
Reference in New Issue
Block a user