diff options
author | asa <asa@yandex-team.ru> | 2022-02-10 16:50:54 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:54 +0300 |
commit | c3206fd73f199b90b23e450b1d30b63c8e13a5a6 (patch) | |
tree | d93bfff83fa543d6c347c2e3a0994b478115e8b1 /library/cpp | |
parent | e13b11cc555cf840f384b0a13c95fda563c7e81b (diff) | |
download | ydb-c3206fd73f199b90b23e450b1d30b63c8e13a5a6.tar.gz |
Restoring authorship annotation for <asa@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/getopt/small/opt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/getopt/small/opt.cpp b/library/cpp/getopt/small/opt.cpp index 744501765c..2c90306e16 100644 --- a/library/cpp/getopt/small/opt.cpp +++ b/library/cpp/getopt/small/opt.cpp @@ -53,14 +53,14 @@ Opt::Opt(int argc, const char* argv[], const char* optString, const Ion* longOpt int Opt::Get() { return Get(nullptr); -} - +} + int Opt::Get(int* longOptionIndex) { if (GotError_) return EOF; Arg = nullptr; - + try { bool r = OptsParser_->Next(); Ind = (int)OptsParser_->Pos_; |