![]() |
nSnake
A ncurses implementation of the classic Snake game
|
Defines the procedures related to handling the command-line arguments. More...
Go to the source code of this file.
Functions | |
void | args_handle (int argc, char *argv[]) |
Handles all the commandline arguments. More... | |
void | print_help () |
Prints Help instructions on standard output. | |
void | print_license () |
Prints the preamble of the GNU GPL license v3 on standard output. | |
void | print_usage () |
Prints the program usage on standard output. | |
void | print_version () |
Prints the program version on standard output. | |
Defines the procedures related to handling the command-line arguments.
Definition in file arguments.h.
void args_handle | ( | int | argc, |
char * | argv[] | ||
) |
Handles all the commandline arguments.
This is the main function of this module. It processes an argv[] array of argc elements based on the options specified at the struct option.
If you want to add another argument, follow these steps:
Definition at line 50 of file arguments.c.