diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:17 +0300 |
commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/cpp/getopt/small/modchooser.h | |
parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
download | ydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/modchooser.h')
-rw-r--r-- | library/cpp/getopt/small/modchooser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/getopt/small/modchooser.h b/library/cpp/getopt/small/modchooser.h index 8717acdd54..0a8de6d50b 100644 --- a/library/cpp/getopt/small/modchooser.h +++ b/library/cpp/getopt/small/modchooser.h @@ -2,7 +2,7 @@ #include "last_getopt_opts.h" -#include <util/generic/map.h> +#include <util/generic/map.h> #include <util/generic/string.h> #include <util/generic/vector.h> @@ -19,7 +19,7 @@ using TMainFunctionRawPtr = int (*)(const int argc, const char** argv); //! Mode class with vector of cli arguments. class TMainClassV { public: - virtual int operator()(const TVector<TString>& argv) = 0; + virtual int operator()(const TVector<TString>& argv) = 0; virtual ~TMainClassV() = default; }; @@ -45,7 +45,7 @@ class TModChooser { public: TModChooser(); ~TModChooser(); - + public: void AddMode(const TString& mode, TMainFunctionRawPtr func, const TString& description, bool hidden = false, bool noCompletion = false); void AddMode(const TString& mode, TMainFunctionRawPtrV func, const TString& description, bool hidden = false, bool noCompletion = false); @@ -98,7 +98,7 @@ public: int Run(int argc, const char** argv) const; //! Run appropriate mode. Same as Run(const int, const char**) - int Run(const TVector<TString>& argv) const; + int Run(const TVector<TString>& argv) const; void PrintHelp(const TString& progName) const; |