diff options
author | Stanislav Kirillov <staskirillov@gmail.com> | 2022-02-10 16:46:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:07 +0300 |
commit | 92fe2b1e7bc79f7b95adef61714fc003f6ea4a1c (patch) | |
tree | 817034f4ca57c9f841bb047ec94630c2e78a2b1d /library/cpp/getopt/small/modchooser.h | |
parent | 53c76da6d9f6cc5a17f6029df396f0e3bc1ff47d (diff) | |
download | ydb-92fe2b1e7bc79f7b95adef61714fc003f6ea4a1c.tar.gz |
Restoring authorship annotation for Stanislav Kirillov <staskirillov@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/getopt/small/modchooser.h')
-rw-r--r-- | library/cpp/getopt/small/modchooser.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/getopt/small/modchooser.h b/library/cpp/getopt/small/modchooser.h index 0a8de6d50b..54ccbb2e28 100644 --- a/library/cpp/getopt/small/modchooser.h +++ b/library/cpp/getopt/small/modchooser.h @@ -80,8 +80,8 @@ public: //! Set short command representation in Usage block void SetPrintShortCommandInUsage(bool printShortCommandInUsage); - void DisableSvnRevisionOption(); - + void DisableSvnRevisionOption(); + void AddCompletions(TString progName, const TString& name = "completion", bool hidden = false, bool noCompletion = false); /*! Run appropriate mode. @@ -155,9 +155,9 @@ private: //! When set to true, show descriptions unsorted and display separators bool ShowSeparated; - //! When set to true, disables --svnrevision option, useful for opensource (git hosted) projects - bool SvnRevisionOptionDisabled; - + //! When set to true, disables --svnrevision option, useful for opensource (git hosted) projects + bool SvnRevisionOptionDisabled; + //! When true - will print only 'mode name' in 'Usage' block bool PrintShortCommandInUsage; |