Merge pull request #171 from syohex/support-new-option
add newly options
This commit is contained in:
commit
b3d8ee87a5
26
src/_cpanm
26
src/_cpanm
|
@ -28,29 +28,53 @@ arguments=(
|
||||||
'(- :)--info[Displays distribution info on CPAN]'
|
'(- :)--info[Displays distribution info on CPAN]'
|
||||||
'(--installdeps)--installdeps[Only install dependencies]'
|
'(--installdeps)--installdeps[Only install dependencies]'
|
||||||
'(--look)--look[Download/unpack the distribution and then open the directory with your shell]'
|
'(--look)--look[Download/unpack the distribution and then open the directory with your shell]'
|
||||||
|
'(--uninstall -U)'{--uninstall,-U}'[Uninstalls the modules]'
|
||||||
'(- :)'{--help,-h}'[Displays help information]'
|
'(- :)'{--help,-h}'[Displays help information]'
|
||||||
'(- :)'{--version,-V}'[Displays software version]'
|
'(- :)'{--version,-V}'[Displays software version]'
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
{--force,-f}'[Force install]'
|
{--force,-f}'[Force install]'
|
||||||
{--notest,-n}'[Do not run unit tests]'
|
{--notest,-n}'[Do not run unit tests]'
|
||||||
|
'(--test-only)--test-only[Run the test only and do not install the module]'
|
||||||
{--sudo,-S}'[sudo to run install commands]'
|
{--sudo,-S}'[sudo to run install commands]'
|
||||||
'(-v --verbose --quiet -q)'{--verbose,-v}'[Turns on chatty output]'
|
'(-v --verbose --quiet -q)'{--verbose,-v}'[Turns on chatty output]'
|
||||||
'(-q --quiet --verbose -v)'{--quiet,-q}'[Turns off all output]'
|
'(-q --quiet --verbose -v)'{--quiet,-q}'[Turns off all output]'
|
||||||
{--local-lib,-l}'[Specify the install base to install modules]'
|
{--local-lib,-l}'[Specify the install base to install modules]'
|
||||||
{--local-lib-contained,-L}'[Specify the install base to install all non-core modules]'
|
{--local-lib-contained,-L}'[Specify the install base to install all non-core modules]'
|
||||||
|
'(--self-contained)--self-contained[Assume no non-core modules are installed on the system]'
|
||||||
'--mirror[Specify the base URL for the mirror (e.g. http://cpan.cpantesters.org/)]:URLs:_urls'
|
'--mirror[Specify the base URL for the mirror (e.g. http://cpan.cpantesters.org/)]:URLs:_urls'
|
||||||
'--mirror-only[Use the mirror\''s index file instead of the CPAN Meta DB]'
|
'--mirror-only[Use the mirror\''s index file instead of the CPAN Meta DB]'
|
||||||
|
'--mirror-index[Specifies the file path for module search index]:FILES:_files'
|
||||||
'--prompt[Prompt when configure/build/test fails]'
|
'--prompt[Prompt when configure/build/test fails]'
|
||||||
|
'(--dev)--dev[Search for a newer developer release as well]'
|
||||||
'--reinstall[Reinstall the distribution even if you already have the latest version installed]'
|
'--reinstall[Reinstall the distribution even if you already have the latest version installed]'
|
||||||
'--interactive[Turn on interactive configure]'
|
'--interactive[Turn on interactive configure]'
|
||||||
|
'(--pp --pureperl)'{--pp,--pureperl}'[Prefer Pure perl build of modules]'
|
||||||
|
'(--with-recommends)--with-recommends[Installs dependencies declared as "recommends"]'
|
||||||
|
'(--with-suggests)--with-suggests[Installs dependencies declared as "suggests"]'
|
||||||
|
'(--with-feature)--with-feature[Specifies the feature to enable]'
|
||||||
|
'(--without-feature)--without-feature[Specifies the feature to disable]'
|
||||||
|
'(--with-all-features)--with-all-features[Enables all the optional features]'
|
||||||
|
'(--configure-timeout)--configure-timeout[Specify the timeout length to wait for configure]'
|
||||||
|
'(--build-timeout)--build-timeout[Specify the timeout length to wait for build]'
|
||||||
|
'(--test-timeout)--test-timeout[Specify the timeout length to wait for test]'
|
||||||
|
'(--configure-args)--configure-args[Pass arguments for configure commands]'
|
||||||
|
'(--build-args)--build-args[Pass arguments for build commands]'
|
||||||
|
'(--test-args)--test-args[Pass arguments for test commands]'
|
||||||
|
'(--install-args)--install-args[Pass arguments for install commands]'
|
||||||
|
|
||||||
'--scandeps[Scan the depencencies of given modules and output the tree in a text format]'
|
'--scandeps[Scan the depencencies of given modules and output the tree in a text format]'
|
||||||
'--format[Specify what format to display the scanned dependency tree]:scandeps format:(tree json yaml dists)'
|
'--format[Specify what format to display the scanned dependency tree]:scandeps format:(tree json yaml dists)'
|
||||||
|
|
||||||
'--save-dists[Specify the optional directory path to copy downloaded tarballs]'
|
'--save-dists[Specify the optional directory path to copy downloaded tarballs]'
|
||||||
# '--uninst-shadows[Uninstalls the shadow files of the distribution that you\''re installing]'
|
'(--uninst-shadows)--uninst-shadows[Uninstalls the shadow files of the distribution that you\''re installing]'
|
||||||
|
|
||||||
|
'(--cascade-search)--cascade-search[Specifies whether to cascade search]'
|
||||||
|
'(--skip-installed)--skip-installed[Specifies modules which lastet version are already installed]'
|
||||||
|
'(--skip-satisfied)--skip-satisfied[Specifies module and version for skipping installation]'
|
||||||
|
'(--verify)--verify[Verify the integrity of distribution files]'
|
||||||
|
'(--no-report-perl-version)--report-perl-version[Report locally installed perl version as part of User-Agent]'
|
||||||
|
'(--report-perl-version)--no-report-perl-version[Disable --report-perl-version]'
|
||||||
'--auto-cleanup[Number of days that cpanm\''s work directories expire in. Defaults to 7]'
|
'--auto-cleanup[Number of days that cpanm\''s work directories expire in. Defaults to 7]'
|
||||||
'(--no-man-pages)--man-pages[Generates man pages for executables (man1) and libraries (man3)]'
|
'(--no-man-pages)--man-pages[Generates man pages for executables (man1) and libraries (man3)]'
|
||||||
'(--man-pages)--no-man-pages[Do not generate man pages]'
|
'(--man-pages)--no-man-pages[Do not generate man pages]'
|
||||||
|
|
Loading…
Reference in New Issue