#pragma once #include class NiceCmdLineOutput : public TCLAP::CmdLineOutput { public: void usage(TCLAP::CmdLineInterface& cli) override; void version(TCLAP::CmdLineInterface& cli) override; void failure(TCLAP::CmdLineInterface& cli, TCLAP::ArgException& e) override; private: // Writes a brief usage message with short args. void printShortUsage(TCLAP::CmdLineInterface& cli, std::ostream& outStream) const; // Writes a longer usage message with long and short args, providing descriptions void printLongUsage(TCLAP::CmdLineInterface& cli, std::ostream& outStream) const; };