blib/lib/Dancer/GetOpt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 2 | 6 | 33.3 |
line | true | false | branch |
---|---|---|---|
33 | 0 | 105 | unless &GetOptions("help", \$help, "port=i", sub { arg_to_setting(@_); } , "daemon", sub { arg_to_setting(@_); } , "environment=s", sub { arg_to_setting(@_); } , "confdir=s", sub { arg_to_setting(@_); } ) |
35 | 0 | 105 | if $help |
38 | 0 | 0 | if print_usage() |