cli: fix typo.

pull/366/head
whitequark 2018-11-08 04:09:51 +00:00
parent 258545a334
commit 52c41782d8
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ static bool RunCommand(const std::vector<std::string> args) {
double chordTol = 1.0;
auto ParseChordTolerance = [&](size_t &argn) {
if(argn + 1 < args.size() && (args[argn] == "--chord-ol" ||
if(argn + 1 < args.size() && (args[argn] == "--chord-tol" ||
args[argn] == "-t")) {
argn++;
if(sscanf(args[argn].c_str(), "%lf", &chordTol) == 1) {