diff options
author | asa <[email protected]> | 2022-02-10 16:50:54 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:54 +0300 |
commit | 74f28e6c6fad7c4b75d97dcc239d29df04e525cb (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/getopt/small | |
parent | c3206fd73f199b90b23e450b1d30b63c8e13a5a6 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small')
-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 2c90306e160..744501765cb 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_; |