From 1d65a7ed7794e1f70fb912abbbc3bd41c5bc359e Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 9 Jun 2015 15:41:08 +1000 Subject: [PATCH] options: whitespace --- options.cpp | 35 ++++--- options.hpp | 289 ++++++++++++++++++++++++++-------------------------- 2 files changed, 163 insertions(+), 161 deletions(-) diff --git a/options.cpp b/options.cpp index 930b2208..51d68869 100644 --- a/options.cpp +++ b/options.cpp @@ -307,23 +307,23 @@ bytesoption::execute (const std::string& data) class helpoption : public option { - protected: - static const char HELP_CHARACTER; - static const char *HELP_NAME; - static const char *HELP_DESCRIPTION; +protected: + static const char HELP_CHARACTER; + static const char *HELP_NAME; + static const char *HELP_DESCRIPTION; - processor * m_processor; + processor * m_processor; - public: - helpoption (processor * _processor): - option (HELP_CHARACTER, HELP_NAME, HELP_DESCRIPTION, false), - m_processor (_processor) - { ; } +public: + helpoption (processor * _processor): + option (HELP_CHARACTER, HELP_NAME, HELP_DESCRIPTION, false), + m_processor (_processor) + { ; } - virtual void execute (void); - virtual void execute (const std::string& data) - { option::execute (data); } + virtual void execute (void); + virtual void execute (const std::string& data) + { option::execute (data); } }; @@ -531,7 +531,8 @@ processor::parse_args (int argc, const char ** argv) //----------------------------------------------------------------------------- void -processor::add_option (std::unique_ptr