cli: fix typo.
parent
258545a334
commit
52c41782d8
|
@ -144,7 +144,7 @@ static bool RunCommand(const std::vector<std::string> args) {
|
||||||
|
|
||||||
double chordTol = 1.0;
|
double chordTol = 1.0;
|
||||||
auto ParseChordTolerance = [&](size_t &argn) {
|
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")) {
|
args[argn] == "-t")) {
|
||||||
argn++;
|
argn++;
|
||||||
if(sscanf(args[argn].c_str(), "%lf", &chordTol) == 1) {
|
if(sscanf(args[argn].c_str(), "%lf", &chordTol) == 1) {
|
||||||
|
|
Loading…
Reference in New Issue