diff options
author | qwerty <[email protected]> | 2022-02-10 16:49:25 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:25 +0300 |
commit | ca6b8a0150d5ee4cc8fb804d1285d9c32fb4fe88 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/getopt/small/opt2.h | |
parent | 34e37ee57f5837a8da2fdfaccaac9bbe6c7f02ba (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/opt2.h')
-rw-r--r-- | library/cpp/getopt/small/opt2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/getopt/small/opt2.h b/library/cpp/getopt/small/opt2.h index fded5d1961d..4d9d9432372 100644 --- a/library/cpp/getopt/small/opt2.h +++ b/library/cpp/getopt/small/opt2.h @@ -98,12 +98,12 @@ public: return Int(opt, helpUsage, 0, true); } - // Get() + strtoul, may set up HasErrors + // Get() + strtoul, may set up HasErrors unsigned long UInt(char opt, const char* helpUsage, unsigned long defValue, bool required = false); unsigned long UInt(char opt, const char* helpUsage) { - return UInt(opt, helpUsage, 0, true); - } - + return UInt(opt, helpUsage, 0, true); + } + // For options w/o parameters bool Has(char opt, const char* helpUsage); |