diff options
author | tldr <tldr@yandex-team.ru> | 2022-02-10 16:50:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:18 +0300 |
commit | 42d219fbd63ee173b0cb7db1b26a3ec615f0bb71 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/getopt/small/modchooser.h | |
parent | fb217752f4b5a81abe9df05e38c5a71d080fc2a8 (diff) | |
download | ydb-42d219fbd63ee173b0cb7db1b26a3ec615f0bb71.tar.gz |
Restoring authorship annotation for <tldr@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/modchooser.h')
-rw-r--r-- | library/cpp/getopt/small/modchooser.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/getopt/small/modchooser.h b/library/cpp/getopt/small/modchooser.h index 2b9cf2246b..0a8de6d50b 100644 --- a/library/cpp/getopt/small/modchooser.h +++ b/library/cpp/getopt/small/modchooser.h @@ -51,11 +51,11 @@ public: void AddMode(const TString& mode, TMainFunctionRawPtrV func, const TString& description, bool hidden = false, bool noCompletion = false); void AddMode(const TString& mode, TMainFunctionPtr func, const TString& description, bool hidden = false, bool noCompletion = false); void AddMode(const TString& mode, TMainFunctionPtrV func, const TString& description, bool hidden = false, bool noCompletion = false); - void AddMode(const TString& mode, TMainClass* func, const TString& description, bool hidden = false, bool noCompletion = false); - void AddMode(const TString& mode, TMainClassV* func, const TString& description, bool hidden = false, bool noCompletion = false); + void AddMode(const TString& mode, TMainClass* func, const TString& description, bool hidden = false, bool noCompletion = false); + void AddMode(const TString& mode, TMainClassV* func, const TString& description, bool hidden = false, bool noCompletion = false); //! Hidden groups won't be displayed in 'help' block - void AddGroupModeDescription(const TString& description, bool hidden = false, bool noCompletion = false); + void AddGroupModeDescription(const TString& description, bool hidden = false, bool noCompletion = false); //! Set default mode (if not specified explicitly) void SetDefaultMode(const TString& mode); @@ -82,7 +82,7 @@ public: void DisableSvnRevisionOption(); - void AddCompletions(TString progName, const TString& name = "completion", bool hidden = false, bool noCompletion = false); + void AddCompletions(TString progName, const TString& name = "completion", bool hidden = false, bool noCompletion = false); /*! Run appropriate mode. * @@ -107,7 +107,7 @@ public: TMainClass* Main; TString Description; bool Hidden; - bool NoCompletion; + bool NoCompletion; TVector<TString> Aliases; TMode() @@ -115,7 +115,7 @@ public: { } - TMode(const TString& name, TMainClass* main, const TString& descr, bool hidden, bool noCompletion); + TMode(const TString& name, TMainClass* main, const TString& descr, bool hidden, bool noCompletion); // Full name includes primary name and aliases. Also, will add ANSI colors. size_t CalculateFullNameLen() const; |