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 | |
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')
-rw-r--r-- | library/cpp/getopt/small/opt2.cpp | 8 | ||||
-rw-r--r-- | library/cpp/getopt/small/opt2.h | 4 | ||||
-rw-r--r-- | library/cpp/getopt/small/ygetopt.cpp | 4 | ||||
-rw-r--r-- | library/cpp/getopt/small/ygetopt.h | 2 | ||||
-rw-r--r-- | library/cpp/getopt/ya.make | 12 |
5 files changed, 15 insertions, 15 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++; } } diff --git a/library/cpp/getopt/small/opt2.h b/library/cpp/getopt/small/opt2.h index 4d9d943237..11767fd94a 100644 --- a/library/cpp/getopt/small/opt2.h +++ b/library/cpp/getopt/small/opt2.h @@ -1,8 +1,8 @@ #pragma once -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/generic/string.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> // simplified options parser // No 'optional argument' (e.g. "a::" in spec.) support; diff --git a/library/cpp/getopt/small/ygetopt.cpp b/library/cpp/getopt/small/ygetopt.cpp index 1f52827f74..735071c2cd 100644 --- a/library/cpp/getopt/small/ygetopt.cpp +++ b/library/cpp/getopt/small/ygetopt.cpp @@ -2,8 +2,8 @@ #include "ygetopt.h" #include <util/generic/string.h> -#include <util/generic/vector.h> -#include <util/generic/yexception.h> +#include <util/generic/vector.h> +#include <util/generic/yexception.h> class TGetOpt::TImpl: public TSimpleRefCount<TImpl> { public: diff --git a/library/cpp/getopt/small/ygetopt.h b/library/cpp/getopt/small/ygetopt.h index 615d3dd18e..0d5b7371ff 100644 --- a/library/cpp/getopt/small/ygetopt.h +++ b/library/cpp/getopt/small/ygetopt.h @@ -1,7 +1,7 @@ #pragma once #include <util/generic/fwd.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> class TGetOpt { public: diff --git a/library/cpp/getopt/ya.make b/library/cpp/getopt/ya.make index 6df23b22b2..e5a0fa62dc 100644 --- a/library/cpp/getopt/ya.make +++ b/library/cpp/getopt/ya.make @@ -1,15 +1,15 @@ LIBRARY() - + OWNER(pg) - + PEERDIR( library/cpp/getopt/small library/cpp/svnversion library/cpp/build_info ) -SRCS( +SRCS( GLOBAL print.cpp -) - -END() +) + +END() |