Command for interactive mode in o2scl::cli. More...
#include <cli.h>
See the o2scl::cli class for more details.
Public Attributes | |
| char | shrt |
Short option ('\0' for none, must be unique if present) | |
| std::string | lng |
| Long option (must be specified and must be unique) | |
| std::string | desc |
| Description for help. | |
| int | min_parms |
| Minimum number of parameters (0 for none, -1 for variable) | |
| int | max_parms |
| Maximum number of parameters (0 for none, -1 for variable) | |
| std::string | parm_desc |
| Description of parameters. | |
| std::string | help |
| The help description. | |
| comm_option_funct * | func |
| The pointer to the function to be called (or 0 for no function) | |
| int | type |
| Type: command-line parameter, command, or both. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).