aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/opt2.h
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/getopt/small/opt2.h
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/opt2.h')
-rw-r--r--library/cpp/getopt/small/opt2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/getopt/small/opt2.h b/library/cpp/getopt/small/opt2.h
index 8d03ce4e5b..4d9d943237 100644
--- a/library/cpp/getopt/small/opt2.h
+++ b/library/cpp/getopt/small/opt2.h
@@ -85,7 +85,7 @@ public:
// For options with parameters
const char* Arg(char opt, const char* helpUsage, const char* defValue, bool required = false);
const char* Arg(char opt, const char* helpUsage) {
- return Arg(opt, helpUsage, nullptr, true);
+ return Arg(opt, helpUsage, nullptr, true);
}
const char* Arg(char opt, const char* helpUsage, TString defValue, bool required = false);
@@ -108,7 +108,7 @@ public:
bool Has(char opt, const char* helpUsage);
// Add user defined error message and set error flag
- void AddError(const char* message = nullptr);
+ void AddError(const char* message = nullptr);
public:
// non-option args