aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/modchooser.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/getopt/small/modchooser.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/modchooser.h')
-rw-r--r--library/cpp/getopt/small/modchooser.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/getopt/small/modchooser.h b/library/cpp/getopt/small/modchooser.h
index 656e007489..0a8de6d50b 100644
--- a/library/cpp/getopt/small/modchooser.h
+++ b/library/cpp/getopt/small/modchooser.h
@@ -3,7 +3,7 @@
#include "last_getopt_opts.h"
#include <util/generic/map.h>
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/vector.h>
#include <functional>
@@ -63,10 +63,10 @@ public:
void AddAlias(const TString& alias, const TString& mode);
//! Set main program description.
- void SetDescription(const TString& descr);
+ void SetDescription(const TString& descr);
//! Set modes help option name (-? is by default)
- void SetModesHelpOption(const TString& helpOption);
+ void SetModesHelpOption(const TString& helpOption);
//! Specify handler for '--version' parameter
void SetVersionHandler(TVersionHandlerPtr handler);
@@ -75,7 +75,7 @@ public:
void SetSeparatedMode(bool separated = true);
//! Set separation string
- void SetSeparationString(const TString& str);
+ void SetSeparationString(const TString& str);
//! Set short command representation in Usage block
void SetPrintShortCommandInUsage(bool printShortCommandInUsage);
@@ -100,12 +100,12 @@ public:
//! Run appropriate mode. Same as Run(const int, const char**)
int Run(const TVector<TString>& argv) const;
- void PrintHelp(const TString& progName) const;
+ void PrintHelp(const TString& progName) const;
struct TMode {
- TString Name;
+ TString Name;
TMainClass* Main;
- TString Description;
+ TString Description;
bool Hidden;
bool NoCompletion;
TVector<TString> Aliases;
@@ -136,10 +136,10 @@ public:
private:
//! Main program description.
- TString Description;
+ TString Description;
//! Help option for modes.
- TString ModesHelpOption;
+ TString ModesHelpOption;
//! Wrappers around all modes.
TVector<THolder<TMainClass>> Wrappers;
@@ -162,7 +162,7 @@ private:
bool PrintShortCommandInUsage;
//! Text string used when displaying each separator
- TString SeparationString;
+ TString SeparationString;
//! Unsorted list of options
TVector<THolder<TMode>> UnsortedModes;