diff options
author | Alexander Fokin <apfokin@gmail.com> | 2022-02-10 16:45:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:38 +0300 |
commit | 863a59a65247c24db7cb06789bc5cf79d04da32f (patch) | |
tree | 139dc000c8cd4a40f5659e421b7c75135d080307 /library/cpp/getopt/small/last_getopt_easy_setup.h | |
parent | f64e95a9eb9ab03240599eb9581c5a9102426a96 (diff) | |
download | ydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz |
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/getopt/small/last_getopt_easy_setup.h')
-rw-r--r-- | library/cpp/getopt/small/last_getopt_easy_setup.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/getopt/small/last_getopt_easy_setup.h b/library/cpp/getopt/small/last_getopt_easy_setup.h index 60dddda225..3c8100d04d 100644 --- a/library/cpp/getopt/small/last_getopt_easy_setup.h +++ b/library/cpp/getopt/small/last_getopt_easy_setup.h @@ -4,18 +4,18 @@ namespace NLastGetopt { /** - * Wrapper for TOpts class to make the life a bit easier. - * Usual usage: - * TEasySetup opts; - * opts('s', "server", "MR_SERVER", "MapReduce server name in format server:port", true) - * ('u', "user", "MR_USER", "MapReduce user name", true) - * ('o', "output", "MR_TABLE", "Name of MR table which will contain results", true) - * ('r', "rules", "FILE", "Filename for .rules output file") //!< This parameter is optional and has a required argument - * ('v', "version", &PrintSvnVersionAndExit0, "Print version information") //!< Parameter with handler can't get any argument - * ("verbose", "Be verbose") //!< You may not specify short param name - * - * NLastGetopt::TOptsParseResult r(&opts, argc, argv); - */ + * Wrapper for TOpts class to make the life a bit easier. + * Usual usage: + * TEasySetup opts; + * opts('s', "server", "MR_SERVER", "MapReduce server name in format server:port", true) + * ('u', "user", "MR_USER", "MapReduce user name", true) + * ('o', "output", "MR_TABLE", "Name of MR table which will contain results", true) + * ('r', "rules", "FILE", "Filename for .rules output file") //!< This parameter is optional and has a required argument + * ('v', "version", &PrintSvnVersionAndExit0, "Print version information") //!< Parameter with handler can't get any argument + * ("verbose", "Be verbose") //!< You may not specify short param name + * + * NLastGetopt::TOptsParseResult r(&opts, argc, argv); + */ class TEasySetup: public TOpts { public: TEasySetup(const TStringBuf& optstring = TStringBuf()); |