diff options
Diffstat (limited to 'meowpp.test/src/autostitch_K_Match.cpp')
-rw-r--r-- | meowpp.test/src/autostitch_K_Match.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meowpp.test/src/autostitch_K_Match.cpp b/meowpp.test/src/autostitch_K_Match.cpp index d2fe8c6..6e5c69f 100644 --- a/meowpp.test/src/autostitch_K_Match.cpp +++ b/meowpp.test/src/autostitch_K_Match.cpp @@ -18,7 +18,7 @@ MyK_Match::~MyK_Match(){ Usage MyK_Match::usage() const{ Usage usg; - usg.optionAdd('k', + usg.optionAdd("kmatch-k", "k nearest neighbors", "<number>", stringPrintf("%d", 5), false); @@ -26,7 +26,7 @@ Usage MyK_Match::usage() const{ } bool MyK_Match::usage(meow::Usage const& usg){ - _body.paramK(atoi(usg.optionValue('k', 0).c_str())); + _body.paramK(atoi(usg.optionValue("kmatch-k", 0).c_str())); return true; } |