diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/getopt/small/modchooser.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 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 0a8de6d50b..8717acdd54 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; |