method

add_version_option

add_version_option(task = command, *wrap)
public

Add the –version option to the option parser.