aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/opt2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/getopt/small/opt2.cpp')
-rw-r--r--library/cpp/getopt/small/opt2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/getopt/small/opt2.cpp b/library/cpp/getopt/small/opt2.cpp
index fe9cbe12a1..0cdc774e78 100644
--- a/library/cpp/getopt/small/opt2.cpp
+++ b/library/cpp/getopt/small/opt2.cpp
@@ -66,7 +66,7 @@ void Opt2::EatArgv(const char* optspec, const char* long_alias) {
char* comma = strchr(s, ',');
if (comma)
*comma = 0;
- if (!eq || (comma && comma < eq))
+ if (!eq || (comma && comma < eq))
ythrow yexception() << "Opt2, long_alias: '=' is expected after " << s;
*eq++ = 0;
if (!*eq || eq[1])