tapi examples - Removing defaults from all command line switches accessed with has()

This commit is contained in:
DozyC
2016-05-19 23:20:55 -07:00
parent 3db19c046b
commit 6c4aae98f7
6 changed files with 12 additions and 12 deletions

View File

@@ -83,12 +83,12 @@ static void getFlowField(const Mat& u, const Mat& v, Mat& flowField)
int main(int argc, const char* argv[])
{
const char* keys =
"{ h help | false | print help message }"
"{ h help | | print help message }"
"{ l left | | specify left image }"
"{ r right | | specify right image }"
"{ o output | tvl1_output.jpg | specify output save path }"
"{ c camera | 0 | enable camera capturing }"
"{ m cpu_mode | false | run without OpenCL }"
"{ m cpu_mode | | run without OpenCL }"
"{ v video | | use video as input }";
CommandLineParser cmd(argc, argv, keys);