-
Notifications
You must be signed in to change notification settings - Fork 0
Setters
Davide edited this page Sep 30, 2019
·
1 revision
pargvc allows to customize some parts of its output and internal behaviors.
The set_wrong_flag_msg
function lets you set which text to print when an
undeclared flag has been issued; the default output is "[flag] undefined. Aborting."
To change that, ignore_wrong_flag()
sets pargvc to
ignore anyunknown flag issued in the command.
When issuing the --help
flag, pargvc's default behavior is to print
an auto-generated command blueprint, then list optional and mandatory
arguments.
-
set_usage
sets an usage blueprint. -
set_description
sets description, that will be displayed after the arguments list when calling--help
For these other functions, names are pretty self explanatory:
set_author(char* author)
set_website(char* website)
set_license(char* license)