void exarg_define ( char *  arg_name,
char *  value 
)

Allows to simulate user defined command line options alread installed by exarg_install_arg, without requiring the user to set those values.

This function allows to install values received or to just define the argument to be supported by the program, without requiring the user to provide such option. This is a convenient to make some options to be default, writting your application relying on arguments defined by command line.

The function won't define the argument if not installed previously. If the argument isn't found, the function takes no action.

Parameters
arg_nameThe argument o define as provided by the user.
valueThe value to be associated to the argument. Some arguments doesn't require this paremeters (EXARG_NONE), so, you can provide NULL to this parameter.

References EXARG_INT, EXARG_NONE, and EXARG_STRING.