logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

ost::CommandOptionRest - It only makes sense to have a single one of these set and it is exclusive with

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                       ost::CommandOptionRest(3)

Constructor & Destructor Documentation

ost::CommandOptionRest::CommandOptionRest(constchar*inOptionName,constchar*inOptionLetter,constchar*inDescription,boolinRequired=false,CommandOption**ppNext=&defaultCommandOptionList)CommandOptionRest contructor. This sets the optionType for this object to Trailing.

       ParametersinOptionName long option name
           inOptionLetter short letter name
           inDescription short description of the option
           inRequired true if option is required
           ppNext the linked list header

Detailed Description

       It only makes sense to have a single one of these set and it is exclusive with CommandOptionCollect.

       It is the option that takes the rest of the command line options that are not part of any other options.
       e.g. 'strace -ofile command arg1 arg2'. The 'command arg1 arg2' part is placed in objects of this class.

       CommandOption to take the rest of the command line

       Examplescmdlineopt.cpp.

Name

       ost::CommandOptionRest - It only makes sense to have a single one of these set and it is exclusive with
       CommandOptionCollect.

Synopsis

       #include <cmdoptns.h>

       Inherits ost::CommandOptionWithArg.

   PublicMemberFunctionsCommandOptionRest (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool
           inRequired=false, CommandOption **ppNext=&defaultCommandOptionList)
           CommandOptionRest contructor.

   AdditionalInheritedMembers

See Also