aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/posix_getopt.cpp
diff options
context:
space:
mode:
authoralbert <albert@yandex-team.ru>2022-02-10 16:48:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:14 +0300
commit9f25ef3232c288ca664ceee6c376cf64e4349a2e (patch)
treeb192eaf3150845f7302fafd460a972b0439d6fe5 /library/cpp/getopt/small/posix_getopt.cpp
parent6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (diff)
downloadydb-9f25ef3232c288ca664ceee6c376cf64e4349a2e.tar.gz
Restoring authorship annotation for <albert@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/getopt/small/posix_getopt.cpp')
-rw-r--r--library/cpp/getopt/small/posix_getopt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/getopt/small/posix_getopt.cpp b/library/cpp/getopt/small/posix_getopt.cpp
index bd06f3499f..bbe89080a5 100644
--- a/library/cpp/getopt/small/posix_getopt.cpp
+++ b/library/cpp/getopt/small/posix_getopt.cpp
@@ -29,13 +29,13 @@ namespace NLastGetopt {
TOpt* opt;
if ((unsigned)o->val < 0x80 && isalnum(o->val)) {
opt = &Opts->CharOption(char(o->val));
- opt->AddLongName(o->name);
+ opt->AddLongName(o->name);
} else {
Opts->AddLongOption(o->name);
opt = const_cast<TOpt*>(&Opts->GetLongOption(o->name));
}
opt->HasArg_ = EHasArg(o->has_arg);
- opt->UserValue(o->flag);
+ opt->UserValue(o->flag);
}
OptsParser.Reset(new TOptsParser(&*Opts, argc, (const char**)argv));