cmd_line_arg Struct Reference

A command-line argument for cli. More...

#include <cli.h>


Detailed Description

This is the internal structure that cli uses to package command-line arguments.

Definition at line 143 of file cli.h.


Data Fields

std::string arg
 The argument.
bool is_option
 Is an option?
bool is_valid
 Is a properly formatted option.
std::vector< std::string > parms
 List of parameters (empty, unless it's an option).
comm_option_scop
 A pointer to the appropriate option (0, unless it's an option).

The documentation for this struct was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page