ost::CommandOptionRest(3)
π ost::CommandOptionRest(3) π
okay bestie, welcome to the Library Functions Manual page for ost::CommandOptionRest β yes it's a C++ class from GNU CommonC++, no I will not be normal about it, let's GO π¦
β¨ NAME β¨
ost::CommandOptionRest β it literally only makes sense to have one single one of these set, and it's exclusive with CommandOptionCollect. that's the whole personality. π
πΈ SYNOPSIS πΈ
#include <cmdoptns.h>
Inherits ost::CommandOptionWithArg.
π Public Member Functions π
CommandOptionRest (const char *inOptionName, const char *inOptionLetter,
const char *inDescription, bool inRequired=false, CommandOption
**ppNext=&defaultCommandOptionList)
- the
CommandOptionRestcontructor. (yes that's how it's spelled in the source, we love a typo that's canon π)
π Additional Inherited Members
(they're inherited, they're just vibing up the class hierarchy, go look at the parent if you need them π«Ά)
π Detailed Description π
okay so, real talk: it only makes sense to have a single one of these set, and it is exclusive with CommandOptionCollect. one. uno. singular. no cap. π«
it is the option that takes the rest of the command line options that are not part of any other options. it's giving "everything else goes in this bucket". for example:
strace -ofile command arg1 arg2
the command arg1 arg2 part is what gets placed in objects of this class. iconic behaviour honestly. β¨
CommandOption to take the rest of the command line
π§ Examples π§
cmdlineopt.cpp. β go read it bestie, it's the moment π
π Constructor & Destructor Documentation π
ost::CommandOptionRest::CommandOptionRest (const char * inOptionName, const char * inOptionLetter, const char * inDescription, bool inRequired = false, CommandOption ** ppNext = &defaultCommandOptionList)
CommandOptionRest contructor. this sets the optionType for this object to Trailing. yes, Trailing. it trails. it's a trailer. main character energy at the end of the line. π
β Parameters β
inOptionNameβ the long option nameinOptionLetterβ the short letter nameinDescriptionβ a short description of the optioninRequiredβtrueif the option is requiredppNextβ the linked list header
π· Author π·
generated automatically by Doxygen for GNU CommonC++ from the source code. the robot wrote it, I just did the vibes. ππ
fr fr, that's the whole page. no options were harmed, none were skipped, we kept every single detail. periodt. π
GNU CommonC++ Β· Sun Dec 27 2020 β mwah, that's the version and date, love u, bye bestie!! ππ¦β¨ππ
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms