diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
commit | 10807864acf73d00f425a23b442aac2cf34403a8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/getopt/small/opt2.cpp | |
parent | 13f84424ed9975f6827d9786087c6fe6ea265cda (diff) | |
download | ydb-10807864acf73d00f425a23b442aac2cf34403a8.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/opt2.cpp')
-rw-r--r-- | library/cpp/getopt/small/opt2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/getopt/small/opt2.cpp b/library/cpp/getopt/small/opt2.cpp index f5913e9238..0cdc774e78 100644 --- a/library/cpp/getopt/small/opt2.cpp +++ b/library/cpp/getopt/small/opt2.cpp @@ -2,8 +2,8 @@ #include <util/generic/hash.h> #include <util/generic/utility.h> -#include <util/generic/yexception.h> -#include <util/str_stl.h> +#include <util/generic/yexception.h> +#include <util/str_stl.h> #include <stdio.h> #include <errno.h> @@ -37,7 +37,7 @@ void Opt2::EatArgv(const char* optspec, const char* long_alias) { optspec++; } if (*optspec == '-') - ythrow yexception() << "Flag '-' can not be used in Opt2's optspec"; + ythrow yexception() << "Flag '-' can not be used in Opt2's optspec"; // step 1 - parse optspec for (const char* s = optspec; *s; s++) { if (SpecsMap[(ui8)*s]) @@ -50,7 +50,7 @@ void Opt2::EatArgv(const char* optspec, const char* long_alias) { if (s[1] == ':') { Specs.back().HasArg = true; if (s[2] == ':') - ythrow yexception() << "Opt2 does not accept optional parameters (e.g. \"a::\") in optspec"; + ythrow yexception() << "Opt2 does not accept optional parameters (e.g. \"a::\") in optspec"; s++; } } |