From 52c41782d8be467807df83bae51ab303b2748936 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 8 Nov 2018 04:09:51 +0000 Subject: [PATCH] cli: fix typo. --- src/platform/entrycli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/entrycli.cpp b/src/platform/entrycli.cpp index 07a00340..cbb72318 100644 --- a/src/platform/entrycli.cpp +++ b/src/platform/entrycli.cpp @@ -144,7 +144,7 @@ static bool RunCommand(const std::vector 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) {