NAME
Getopt::Yath::Option::Auto - Options with default values that also accept arguments.
DESCRIPTION
This type has an 'autofill' value that is used if no argument is provided to the parameter, IE --opt. But can also be given a specific value using --opt=val. It DOES NOT support --opt VAL which will most likely result in an exception.
SYNOPSIS
option help => (
type => 'Auto',
autofill => 'ALL', # Default to all if no subtitle
short => 'h',
description => "Show help, optionally just show a specific subtitle from help output",
short_examples => ['', '=Subtitle'],
long_examples => ['', '=Subtitle'],
);
SOURCE
The source code repository for Getopt-Yath can be found at http://github.com/Test-More/Getopt-Yath/.
MAINTAINERS
AUTHORS
COPYRIGHT
Copyright Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.