![]() |
Crossfire Server, Trunk
1.75.0
|
One command line option definition. More...
Collaboration diagram for Command_Line_Options:Data Fields | |
| const char * | cmd_option |
| How it is called on the command line. More... | |
| void(* | func )() |
| function to call when we match this. More... | |
| uint8_t | num_args |
| Number or args it takes. More... | |
| uint8_t | pass |
| What pass this should be processed on. More... | |
One command line option definition.
Most of this is shamelessly stolen from XSysStats. But since that is also my program, no problem.
| const char* Command_Line_Options::cmd_option |
How it is called on the command line.
Definition at line 370 of file init.cpp.
Referenced by parse_args().
| void(* Command_Line_Options::func) () |
function to call when we match this.
if num_args is true, than that gets passed to the function, otherwise nothing is passed
Definition at line 373 of file init.cpp.
Referenced by parse_args().
| uint8_t Command_Line_Options::num_args |
| uint8_t Command_Line_Options::pass |
What pass this should be processed on.
Definition at line 372 of file init.cpp.
Referenced by parse_args().