cmdoptns.h(3)
πΈ NAME πΈ
cmdoptns.h β Command line option parsing interface.
okay so bestie, this is the cmdoptns.h(3) page from the Library Functions Manual. It's giving "I parse your command line options and I do it fabulously." π
β¨ SYNOPSIS β¨
#include <cc++/string.h>
π Classes π
ost::CommandOptionβ the base class for all command line options. The parent, the blueprint, the main character.ost::CommandOptionWithArgβ derived class ofCommandOption, for options that have a value associated with them. A little extra something attached. πost::CommandOptionArgβ class for options with an argument, e.g. ... and yes, the original description literally stops at "e.g." β it's a cliffhanger, no cap. π«ost::CommandOptionRestβ it only makes sense to have a single one of these set, and it is exclusive withCommandOptionCollect. One at a time, bestie, we don't share.ost::CommandOptionCollectβ it only makes sense to have a single one of these set, and it is also exclusive withCommandOptionRest. Same energy: pick one, periodt.ost::CommandOptionNoArgβCommandOptiontype for flags. No value, just vibes.ost::CommandOptionParseβ this is theCommandOptionParseinterface class. The interface icon.
π¦ Namespaces π¦
ost
π₯ Functions π₯
__EXPORT CommandOptionParse * ost::makeCommandOptionParse (int argc,
char **argv, const char *comment, CommandOption
*options=defaultCommandOptionList)
makeCommandOptionParsewill create an implementation of aCommandOptionParseobject. That's the function, bestie, and it's doing exactly what it says on the tin.
π Variables π
__EXPORT CommandOption * ost::defaultCommandOptionListβ this defines a linked list head pointer for all the command line options that use the default list.
π Detailed Description π
Command line option parsing interface. That's the whole thing, bestie. Short, sweet, slay.
π Author π
Generated automatically by Doxygen for GNU CommonC++ from the source code. The robots did this one, and honestly? They ate. π
okay bye bestie π«Ά this page is from GNU CommonC++ and it was stamped Sun Dec 27 2020, and yeah, it's the cmdoptns.h(3) manual. Stay parsed. β¨
π¦ 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