class CommandOptionRest

CommandOption to take the rest of the command line. More...

Full nameost::CommandOptionRest
Definition#include <cmdoptns.h>
Inheritsost::CommandOptionWithArg [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


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.

 CommandOptionRest ( const char * in_option_name, const char * in_option_letter, const char * in_description, bool in_required = false, CommandOption ** pp_next = & DefaultCommandOptionList )

CommandOptionRest

CommandOptionRest contructor. This sets the option_type for this object to Trailing.

Parameters:
in_option_namelong option name
in_option_lettershort letter name
in_descriptionshort description of the option
in_requiredtrue if option is required
pp_nextthe linked list header


Generated by: dyfet on home on Fri Dec 21 08:32:02 2001, using kdoc 2.0a53.