Using default parameters when [ --config "" ] is used.
Updated default: sendNoObjDetectedEvents = true. fixed mirror view when autoScale is set on/off git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@397 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
@@ -40,7 +40,8 @@ void showUsage()
|
||||
" \"in\" is the port from which the detection is received.\n"
|
||||
" Options:\n"
|
||||
" --host #.#.#.# Set host address.\n"
|
||||
" --json \"path\" Path to an output JSON file.\n");
|
||||
" --json \"path\" Path to an output JSON file.\n"
|
||||
" --help Show this help.\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
@@ -126,6 +127,12 @@ int main(int argc, char * argv[])
|
||||
continue;
|
||||
}
|
||||
|
||||
if(strcmp(argv[i], "-help") == 0 ||
|
||||
strcmp(argv[i], "--help") == 0)
|
||||
{
|
||||
showUsage();
|
||||
}
|
||||
|
||||
printf("Unrecognized option: %s\n", argv[i]);
|
||||
showUsage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user