aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-15 12:02:48 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-15 12:02:48 +0300
commite7eb0a21bd81480b325a98accc2e966a67d18b24 (patch)
tree54ec6c802cfcecd7ee7daf5c7800f402816e8da5
parent10fe498552d69bb9f88420f4a5f118c056c8ec91 (diff)
downloadydb-e7eb0a21bd81480b325a98accc2e966a67d18b24.tar.gz
intermediate changes
ref:99dc5c0f6aa3098daa6776ff1762fb99826b2dde
-rw-r--r--build/rules/autocheck.blacklist1
-rw-r--r--library/cpp/getopt/small/last_getopt_parse_result.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/build/rules/autocheck.blacklist b/build/rules/autocheck.blacklist
index a9300cd75c..9bf60ec85c 100644
--- a/build/rules/autocheck.blacklist
+++ b/build/rules/autocheck.blacklist
@@ -1246,3 +1246,4 @@ haas/libs/php/avatars-client
haas/libs/php/staff-api-client
haas/libs/php/library-datetime
haas/libs/php/qloud-monolog-bundle
+data-ui/organization-user-card
diff --git a/library/cpp/getopt/small/last_getopt_parse_result.h b/library/cpp/getopt/small/last_getopt_parse_result.h
index 1ab6f598c9..c6e768c461 100644
--- a/library/cpp/getopt/small/last_getopt_parse_result.h
+++ b/library/cpp/getopt/small/last_getopt_parse_result.h
@@ -295,6 +295,20 @@ namespace NLastGetopt {
else
return defaultValue;
}
+
+ /**
+ * @return returns the argv with which the parser was started
+ */
+ const char** GetSourceArgv() {
+ return Parser_ ? Parser_->Argv_ : nullptr;
+ }
+
+ /**
+ * @returns the argc with which the parser was started
+ */
+ size_t GetSourceArgc() {
+ return Parser_ ? Parser_->Argc_ : 0;
+ }
};
/**