Replace deprecated options with newly introduced options for gem.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya Noguchi 2019-01-01 20:39:26 +09:00 committed by Fabian Homborg
parent 9dc79cd8d5
commit 7aca69780c

View file

@ -99,10 +99,8 @@ complete $install_opt -s l -l local -d "Restrict operations to the LOCAL domain
complete $install_opt -s r -l remote -d "Restrict operations to the REMOTE domain"
complete $install_opt -s b -l both -d "Allow LOCAL and REMOTE operations"
complete $install_opt -s i -l install-dir -d "Gem repository directory to get installed gems" -x
complete $install_opt -s d -l rdoc -d "Generate RDoc documentation for the gem on install"
complete $install_opt -l no-rdoc -d "Don't generate RDoc documentation for the gem on install"
complete $install_opt -l ri -d "Generate RI documentation for the gem on install"
complete $install_opt -l no-ri -d "Don't generate RI documentation for the gem on install"
complete $install_opt -s N -l no-document -d "Disable documentation generation on install"
complete $install_opt -l document -a '(__fish_append , rdoc ri)' -d "Specify the documentation types you wish to generate"
complete $install_opt -s f -l force -d "Force gem to install, bypassing dependency checks"
complete $install_opt -l no-force -d "Don't force gem to install, bypassing dependency checks"
complete $install_opt -s t -l test -d "Run unit tests prior to installation"
@ -180,10 +178,8 @@ complete $unpack_opt -s v -l version -d "Specify version of gem to unpack" -x
# update
set -l update_opt -c gem -n 'contains update (commandline -poc)'
complete $update_opt -s i -l install-dir -d "Gem repository directory to get installed gems"
complete $update_opt -s d -l rdoc -d "Generate RDoc documentation for the gem on install"
complete $update_opt -l no-rdoc -d "Don't generate RDoc documentation for the gem on install"
complete $update_opt -l ri -d "Generate RI documentation for the gem on install"
complete $update_opt -l no-ri -d "Don't generate RI documentation for the gem on install"
complete $update_opt -s N -l no-document -d "Disable documentation generation on update"
complete $update_opt -l document -a '(__fish_append , rdoc ri)' -d "Specify the documentation types you wish to generate"
complete $update_opt -s f -l force -d "Force gem to install, bypassing dependency checks"
complete $update_opt -l no-force -d "Don't force gem to install, bypassing dependency checks"
complete $update_opt -s t -l test -d "Run unit tests prior to installation"