diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
commit | 13f84424ed9975f6827d9786087c6fe6ea265cda (patch) | |
tree | b94acc282c49a5de96b9e3e19feead21736f3273 /library/cpp/getopt/small/opt2.cpp | |
parent | 35f29a67a6b8e50e1826c837330086049114c5ba (diff) | |
download | ydb-13f84424ed9975f6827d9786087c6fe6ea265cda.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 1 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 0cdc774e78..f5913e9238 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++; } } |