diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/getopt/small/opt.cpp | |
parent | 980edcd3304699edf9d4e4d6a656e585028e2a72 (diff) | |
download | ydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/opt.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 f54e008f79..744501765c 100644 --- a/library/cpp/getopt/small/opt.cpp +++ b/library/cpp/getopt/small/opt.cpp @@ -63,7 +63,7 @@ int Opt::Get(int* longOptionIndex) { try { bool r = OptsParser_->Next(); - Ind = (int)OptsParser_->Pos_; + Ind = (int)OptsParser_->Pos_; if (!r) { return EOF; } else { @@ -74,7 +74,7 @@ int Opt::Get(int* longOptionIndex) { } else { const Ion* ion = (const Ion*)OptsParser_->CurOpt()->UserValue(); if (longOptionIndex) { - *longOptionIndex = int(ion - Ions_); + *longOptionIndex = int(ion - Ions_); } char c = OptsParser_->CurOpt()->GetCharOr0(); return c != 0 ? c : ion->val; @@ -93,7 +93,7 @@ void Opt::DummyHelp(IOutputStream& os) { } int Opt::GetArgC() const { - return (int)OptsParser_->Argc_; + return (int)OptsParser_->Argc_; } const char** Opt::GetArgV() const { |