Subject: | 'modulemaker -h' fails to display help message; launches interactive mode |
Date: | Thu, 3 May 2018 15:28:13 -0400 |
To: | bug-ExtUtils-ModuleMaker [...] rt.cpan.org |
From: | James E Keenan <jkeenan [...] pobox.com> |
Currently:
#####
$ modulemaker -h
------------------------
modulemaker: Main Menu
Feature Current Value
N - Name of module ''
S - Abstract 'Module abstract (<= 44 characters) goes
here'
A - Author information
L - License 'perl'
D - Directives
B - Build system 'ExtUtils::MakeMaker'
G - Generate module
H - Generate module;
save selections as defaults
X - Exit immediately
Please choose which feature you would like to edit:
#####
$ modulemaker -Ih
NAME is required
modulemaker [-CIPVch] [-v version] [-n module_name] [-a abstract]
[-u author_name] [-p author_CPAN_ID] [-o organization]
[-w author_website] [-e author_e-mail]
[-l license_name] [-b build_system] [-s
save_selections_as_defaults ]
Currently Supported Features
-a Specify (in quotes) an abstract for this extension
-b Specify a build system for this extension
-c Flag for compact base directory name
-C Omit creating the Changes file, add HISTORY heading to stub POD
-d Call methods which override default methods from this module
-e Specify author's e-mail address
-h Display this help message
-I Disable INTERACTIVE mode, the command line arguments better be
complete
-l Specify a license for this extension
-n Specify a name to use for the extension (required)
-o Specify (in quotes) author's organization
-p Specify author's CPAN ID
-P Omit the stub POD section
-q Flag to omit a constructor from module
-r Specify permissions
-s Flag to save selections as new personal default values
-u Specify (in quotes) author's name
-v Specify a version number for this extension
-V Flag for verbose messages during module creation
-w Specify author's web site
modulemaker version: 0.57
ExtUtils::ModuleMaker version: 0.57
at
/home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/ExtUtils/ModuleMaker/Initializers.pm
line 193.
#####
What a user normally expects from providing a '-h' command-line switch
is a help message as in the second call above. Make it so, but fix what
appears to be a warning at the end of the output.