If the line is not a paragraph (false), only one line break is appended, otherwise two line breaks are appended. This only affects the help page and other output formats.
Adds a seqan3::print_list_item call to be evaluated later on.
Template Parameters
option_type
Must have a formatted input function (stream >> value). If option_type is a container, its value type must have the formatted input function (exception: std::string is not regarded as a container). See FormattedInputFunction .
validator_type
The type of validator to be applied to the option value. Must model seqan3::validator.
Parameters
[in,out]
value
The variable in which to store the given command line argument.
[in]
short_id
The short identifier for the option (e.g. 'a').
[in]
long_id
The long identifier for the option (e.g. "age").
[in]
desc
The description of the option to be shown in the help page.
Adds a seqan3::print_list_item call to be evaluated later on.
Template Parameters
option_type
Must have a formatted input function (stream >> value). If option_type is a container, its value type must have the formatted input function (exception: std::string is not regarded as a container). See FormattedInputFunction .
validator_type
The type of validator to be applied to the option value. Must model seqan3::validator.
Parameters
[in,out]
value
The variable in which to store the given command line argument.
[in]
desc
The description of the positional option to be shown in the help page.
[in]
option_validator
A seqan3::validator that verifies the value after parsing (callable).
Adds a function object to parser_set_up_calls if the annotation in spec does not prevent it.
Parameters
[in]
printer
The invokable that, if added to parser_set_up_calls, prints information to the help page.
[in]
spec
The option specification deciding whether to add the information to the help page.
If spec equals seqan3::option_spec::hidden, the information is never added to the help page. If spec equals seqan3::option_spec::advanced, the information is only added to the help page if the advanced help page has been queried on the command line (show_advanced_options == true).
Stores all meta information about the application.
This needs to be a member of format_parse, because it needs to present (not filled) when the parser_set_up_calls vector is filled, since all printing functions need some meta information. The member variable itself is filled when copied over from the argument_parser when calling format_parse::parse. That way all the information needed are there, when the actual printing starts.
This function is not private because it is needed for short but nicely formatted (error) output to the command line.
The documentation for this class was generated from the following file: