aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/gem.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
commit34e27ff4c216e2d379afba19fed2761a684697d8 (patch)
treea1429d6c9796caf54c3f4d440e740a88e3aa76aa /share/completions/gem.fish
parent47588c8e75f56f6065a4eb6d4e3bccbad4fab14e (diff)
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
Diffstat (limited to 'share/completions/gem.fish')
-rw-r--r--share/completions/gem.fish192
1 files changed, 96 insertions, 96 deletions
diff --git a/share/completions/gem.fish b/share/completions/gem.fish
index 68a2f43e..d7b4221a 100644
--- a/share/completions/gem.fish
+++ b/share/completions/gem.fish
@@ -32,54 +32,54 @@ complete -c gem -n '__fish_use_subcommand' -xa 'update\t"'(_ "Update the named g
# common opts
set -l common_opt -c gem -n 'not __fish_use_subcommand' #'__subcommand_given'
-complete $common_opt -l source -d (N_ "Use URL as the remote source for gems") -x
-complete $common_opt -s p -l http-proxy -d (N_ "Use the given HTTP proxy for remote operations") -x
-complete $common_opt -l no-http-proxy -d (N_ "Use no HTTP proxy for remote operations")
-complete $common_opt -s h -l help -d (N_ "Get help on this command")
-complete $common_opt -s v -l verbose -d (N_ "Set the verbose level of output")
-complete $common_opt -l config-file -d (N_ "Use this config file instead of default") -x
-complete $common_opt -l backtrace -d (N_ "Show stack backtrace on errors")
-complete $common_opt -l debug -d (N_ "Turn on Ruby debugging")
+complete $common_opt -l source --description "Use URL as the remote source for gems" -x
+complete $common_opt -s p -l http-proxy --description "Use the given HTTP proxy for remote operations" -x
+complete $common_opt -l no-http-proxy --description "Use no HTTP proxy for remote operations"
+complete $common_opt -s h -l help --description "Get help on this command"
+complete $common_opt -s v -l verbose --description "Set the verbose level of output"
+complete $common_opt -l config-file --description "Use this config file instead of default" -x
+complete $common_opt -l backtrace --description "Show stack backtrace on errors"
+complete $common_opt -l debug --description "Turn on Ruby debugging"
##
# cert
set -l cert_opt -c gem -n 'contains cert (commandline -poc)'
-complete $cert_opt -s a -l add -d (N_ "Add a trusted certificate") -x
-complete $cert_opt -s l -l list -d (N_ "List trusted certificates")
-complete $cert_opt -s r -l remove -d (N_ "Remove trusted certificates containing STRING") -x
-complete $cert_opt -s b -l build -d (N_ "Build private key and self-signed certificate for EMAIL_ADDR") -x
-complete $cert_opt -s C -l certificate -d (N_ "Certificate for --sign command") -x
-complete $cert_opt -s K -l private-key -d (N_ "Private key for --sign command") -x
-complete $cert_opt -s s -l sign -d (N_ "Sign a certificate with my key and certificate") -x
+complete $cert_opt -s a -l add --description "Add a trusted certificate" -x
+complete $cert_opt -s l -l list --description "List trusted certificates"
+complete $cert_opt -s r -l remove --description "Remove trusted certificates containing STRING" -x
+complete $cert_opt -s b -l build --description "Build private key and self-signed certificate for EMAIL_ADDR" -x
+complete $cert_opt -s C -l certificate --description "Certificate for --sign command" -x
+complete $cert_opt -s K -l private-key --description "Private key for --sign command" -x
+complete $cert_opt -s s -l sign --description "Sign a certificate with my key and certificate" -x
##
# check
set -l check_opt -c gem -n 'contains check (commandline -poc)'
-complete $check_opt -s v -l verify -d (N_ "Verify gem file against its internal checksum") -x
-complete $check_opt -s a -l alien -d (N_ "Report 'unmanaged' or rogue files in the gem repository")
-complete $check_opt -s t -l test -d (N_ "Run unit tests for gem")
-complete $check_opt -s V -l version -d (N_ "Specify version for which to run unit tests")
+complete $check_opt -s v -l verify --description "Verify gem file against its internal checksum" -x
+complete $check_opt -s a -l alien --description "Report 'unmanaged' or rogue files in the gem repository"
+complete $check_opt -s t -l test --description "Run unit tests for gem"
+complete $check_opt -s V -l version --description "Specify version for which to run unit tests"
##
# cleanup
set -l cleanup_opt -c gem -n 'contains cleanup (commandline -poc)'
-complete $cleanup_opt -s d -l dryrun -d (N_ "Don't really cleanup")
+complete $cleanup_opt -s d -l dryrun --description "Don't really cleanup"
##
# contents
set -l contents_opt -c gem -n 'contains contents (commandline -poc)'
-complete $contents_opt -s l -l list -d (N_ "List the files inside a Gem")
-complete $contents_opt -s V -l version -d (N_ "Specify version for gem to view")
-complete $contents_opt -s s -l spec-dir -d (N_ "Search for gems under specific paths") -x
-complete $contents_opt -s v -l verbose -d (N_ "Be verbose when showing status")
+complete $contents_opt -s l -l list --description "List the files inside a Gem"
+complete $contents_opt -s V -l version --description "Specify version for gem to view"
+complete $contents_opt -s s -l spec-dir --description "Search for gems under specific paths" -x
+complete $contents_opt -s v -l verbose --description "Be verbose when showing status"
##
# dependency
set -l dep_opt -c gem -n 'contains dependency (commandline -poc)'
-complete $dep_opt -s v -l version -d (N_ "Specify version of gem to uninstall") -x
-complete $dep_opt -s r -l reverse-dependencies -d (N_ "Include reverse dependencies in the output")
-complete $dep_opt -l no-reverse-dependencies -d (N_ "Don't include reverse dependencies in the output")
-complete $dep_opt -s p -l pipe -d (N_ "Pipe Format (name --version ver)")
+complete $dep_opt -s v -l version --description "Specify version of gem to uninstall" -x
+complete $dep_opt -s r -l reverse-dependencies --description "Include reverse dependencies in the output"
+complete $dep_opt -l no-reverse-dependencies --description "Don't include reverse dependencies in the output"
+complete $dep_opt -s p -l pipe --description "Pipe Format (name --version ver)"
##
# environment
@@ -94,104 +94,104 @@ complete $help_opt -xa 'commands\t"'(_ "list all 'gem' commands")'" examples\t"'
##
# install
set -l install_opt -c gem -n 'contains install (commandline -poc)'
-complete $install_opt -s v -l version -d (N_ "Specify version of gem to install") -x
-complete $install_opt -s l -l local -d (N_ "Restrict operations to the LOCAL domain (default)")
-complete $install_opt -s r -l remote -d (N_ "Restrict operations to the REMOTE domain")
-complete $install_opt -s b -l both -d (N_ "Allow LOCAL and REMOTE operations")
-complete $install_opt -s i -l install-dir -d (N_ "Gem repository directory to get installed gems") -x
-complete $install_opt -s d -l rdoc -d (N_ "Generate RDoc documentation for the gem on install")
-complete $install_opt -l no-rdoc -d (N_ "Don't generate RDoc documentation for the gem on install")
-complete $install_opt -l ri -d (N_ "Generate RI documentation for the gem on install")
-complete $install_opt -l no-ri -d (N_ "Don't generate RI documentation for the gem on install")
-complete $install_opt -s f -l force -d (N_ "Force gem to install, bypassing dependency checks")
-complete $install_opt -l no-force -d (N_ "Don't force gem to install, bypassing dependency checks")
-complete $install_opt -s t -l test -d (N_ "Run unit tests prior to installation")
-complete $install_opt -l no-test -d (N_ "Don't run unit tests prior to installation")
-complete $install_opt -s w -l wrappers -d (N_ "Use bin wrappers for executables")
-complete $install_opt -l no-wrappers -d (N_ "Don't use bin wrappers for executables")
-complete $install_opt -s P -l trust-policy -d (N_ "Specify gem trust policy") -x
-complete $install_opt -l ignore-dependencies -d (N_ "Do not install any required dependent gems")
-complete $install_opt -s y -l include-dependencies -d (N_ "Unconditionally install the required dependent gems")
+complete $install_opt -s v -l version --description "Specify version of gem to install" -x
+complete $install_opt -s l -l local --description "Restrict operations to the LOCAL domain (default)"
+complete $install_opt -s r -l remote --description "Restrict operations to the REMOTE domain"
+complete $install_opt -s b -l both --description "Allow LOCAL and REMOTE operations"
+complete $install_opt -s i -l install-dir --description "Gem repository directory to get installed gems" -x
+complete $install_opt -s d -l rdoc --description "Generate RDoc documentation for the gem on install"
+complete $install_opt -l no-rdoc --description "Don't generate RDoc documentation for the gem on install"
+complete $install_opt -l ri --description "Generate RI documentation for the gem on install"
+complete $install_opt -l no-ri --description "Don't generate RI documentation for the gem on install"
+complete $install_opt -s f -l force --description "Force gem to install, bypassing dependency checks"
+complete $install_opt -l no-force --description "Don't force gem to install, bypassing dependency checks"
+complete $install_opt -s t -l test --description "Run unit tests prior to installation"
+complete $install_opt -l no-test --description "Don't run unit tests prior to installation"
+complete $install_opt -s w -l wrappers --description "Use bin wrappers for executables"
+complete $install_opt -l no-wrappers --description "Don't use bin wrappers for executables"
+complete $install_opt -s P -l trust-policy --description "Specify gem trust policy" -x
+complete $install_opt -l ignore-dependencies --description "Do not install any required dependent gems"
+complete $install_opt -s y -l include-dependencies --description "Unconditionally install the required dependent gems"
##
# list
set -l list_opt -c gem -n 'contains list (commandline -poc)'
-complete $list_opt -s d -l details -d (N_ "Display detailed information of gem(s)")
-complete $list_opt -l no-details -d (N_ "Don't display detailed information of gem(s)")
-complete $list_opt -s l -l local -d (N_ "Restrict operations to the LOCAL domain (default)")
-complete $list_opt -s r -l remote -d (N_ "Restrict operations to the REMOTE domain")
-complete $list_opt -s b -l both -d (N_ "Allow LOCAL and REMOTE operations")
+complete $list_opt -s d -l details --description "Display detailed information of gem(s)"
+complete $list_opt -l no-details --description "Don't display detailed information of gem(s)"
+complete $list_opt -s l -l local --description "Restrict operations to the LOCAL domain (default)"
+complete $list_opt -s r -l remote --description "Restrict operations to the REMOTE domain"
+complete $list_opt -s b -l both --description "Allow LOCAL and REMOTE operations"
##
# query
set -l query_opt -c gem -n 'contains query (commandline -poc)'
-complete $query_opt -s n -l name-matches -d (N_ "Name of gem(s) to query on matches the provided REGEXP") -x
-complete $query_opt -s d -l details -d (N_ "Display detailed information of gem(s)")
-complete $query_opt -l no-details -d (N_ "Don't display detailed information of gem(s)")
-complete $query_opt -s l -l local -d (N_ "Restrict operations to the LOCAL domain (default)")
-complete $query_opt -s r -l remote -d (N_ "Restrict operations to the REMOTE domain")
-complete $query_opt -s b -l both -d (N_ "Allow LOCAL and REMOTE operations")
+complete $query_opt -s n -l name-matches --description "Name of gem(s) to query on matches the provided REGEXP" -x
+complete $query_opt -s d -l details --description "Display detailed information of gem(s)"
+complete $query_opt -l no-details --description "Don't display detailed information of gem(s)"
+complete $query_opt -s l -l local --description "Restrict operations to the LOCAL domain (default)"
+complete $query_opt -s r -l remote --description "Restrict operations to the REMOTE domain"
+complete $query_opt -s b -l both --description "Allow LOCAL and REMOTE operations"
##
# rdoc
set -l rdoc_opt -c gem -n 'contains rdoc (commandline -poc)'
-complete $rdoc_opt -l all -d (N_ "Generate RDoc/RI documentation for all installed gems")
-complete $rdoc_opt -l rdoc -d (N_ "Include RDoc generated documents")
-complete $rdoc_opt -l no-rdoc -d (N_ "Don't include RDoc generated documents")
-complete $rdoc_opt -l ri -d (N_ "Include RI generated documents")
-complete $rdoc_opt -l no-ri -d (N_ "Don't include RI generated documents")
-complete $rdoc_opt -s v -l version -d (N_ "Specify version of gem to rdoc") -x
+complete $rdoc_opt -l all --description "Generate RDoc/RI documentation for all installed gems"
+complete $rdoc_opt -l rdoc --description "Include RDoc generated documents"
+complete $rdoc_opt -l no-rdoc --description "Don't include RDoc generated documents"
+complete $rdoc_opt -l ri --description "Include RI generated documents"
+complete $rdoc_opt -l no-ri --description "Don't include RI generated documents"
+complete $rdoc_opt -s v -l version --description "Specify version of gem to rdoc" -x
##
# search
set -l search_opt -c gem -n 'contains search (commandline -poc)'
-complete $search_opt -s d -l details -d (N_ "Display detailed information of gem(s)")
-complete $search_opt -l no-details -d (N_ "Don't display detailed information of gem(s)")
-complete $search_opt -s l -l local -d (N_ "Restrict operations to the LOCAL domain (default)")
-complete $search_opt -s r -l remote -d (N_ "Restrict operations to the REMOTE domain")
-complete $search_opt -s b -l both -d (N_ "Allow LOCAL and REMOTE operations")
+complete $search_opt -s d -l details --description "Display detailed information of gem(s)"
+complete $search_opt -l no-details --description "Don't display detailed information of gem(s)"
+complete $search_opt -s l -l local --description "Restrict operations to the LOCAL domain (default)"
+complete $search_opt -s r -l remote --description "Restrict operations to the REMOTE domain"
+complete $search_opt -s b -l both --description "Allow LOCAL and REMOTE operations"
##
# specification
set -l specification_opt -c gem -n 'contains specification (commandline -poc)'
-complete $specification_opt -s v -l version -d (N_ "Specify version of gem to examine") -x
-complete $specification_opt -s l -l local -d (N_ "Restrict operations to the LOCAL domain (default)")
-complete $specification_opt -s r -l remote -d (N_ "Restrict operations to the REMOTE domain")
-complete $specification_opt -s b -l both -d (N_ "Allow LOCAL and REMOTE operations")
-complete $specification_opt -l all -d (N_ "Output specifications for all versions of the gem")
+complete $specification_opt -s v -l version --description "Specify version of gem to examine" -x
+complete $specification_opt -s l -l local --description "Restrict operations to the LOCAL domain (default)"
+complete $specification_opt -s r -l remote --description "Restrict operations to the REMOTE domain"
+complete $specification_opt -s b -l both --description "Allow LOCAL and REMOTE operations"
+complete $specification_opt -l all --description "Output specifications for all versions of the gem"
##
# uninstall
set -l uninstall_opt -c gem -n 'contains uninstall (commandline -poc)'
-complete $uninstall_opt -s a -l all -d (N_ "Uninstall all matching versions")
-complete $uninstall_opt -l no-all -d (N_ "Don't uninstall all matching versions")
-complete $uninstall_opt -s i -l ignore-dependencies -d (N_ "Ignore dependency requirements while uninstalling")
-complete $uninstall_opt -l no-ignore-dependencies -d (N_ "Don't ignore dependency requirements while uninstalling")
-complete $uninstall_opt -s x -l executables -d (N_ "Uninstall applicable executables without confirmation")
-complete $uninstall_opt -l no-executables -d (N_ "Don't uninstall applicable executables without confirmation")
-complete $uninstall_opt -s v -l version -d (N_ "Specify version of gem to uninstall") -x
+complete $uninstall_opt -s a -l all --description "Uninstall all matching versions"
+complete $uninstall_opt -l no-all --description "Don't uninstall all matching versions"
+complete $uninstall_opt -s i -l ignore-dependencies --description "Ignore dependency requirements while uninstalling"
+complete $uninstall_opt -l no-ignore-dependencies --description "Don't ignore dependency requirements while uninstalling"
+complete $uninstall_opt -s x -l executables --description "Uninstall applicable executables without confirmation"
+complete $uninstall_opt -l no-executables --description "Don't uninstall applicable executables without confirmation"
+complete $uninstall_opt -s v -l version --description "Specify version of gem to uninstall" -x
##
# unpack
set -l unpack_opt -c gem -n 'contains unpack (commandline -poc)'
-complete $unpack_opt -s v -l version -d (N_ "Specify version of gem to unpack") -x
+complete $unpack_opt -s v -l version --description "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 (N_ "Gem repository directory to get installed gems")
-complete $update_opt -s d -l rdoc -d (N_ "Generate RDoc documentation for the gem on install")
-complete $update_opt -l no-rdoc -d (N_ "Don't generate RDoc documentation for the gem on install")
-complete $update_opt -l ri -d (N_ "Generate RI documentation for the gem on install")
-complete $update_opt -l no-ri -d (N_ "Don't generate RI documentation for the gem on install")
-complete $update_opt -s f -l force -d (N_ "Force gem to install, bypassing dependency checks")
-complete $update_opt -l no-force -d (N_ "Don't force gem to install, bypassing dependency checks")
-complete $update_opt -s t -l test -d (N_ "Run unit tests prior to installation")
-complete $update_opt -l no-test -d (N_ "Don't run unit tests prior to installation")
-complete $update_opt -s w -l wrappers -d (N_ "Use bin wrappers for executables")
-complete $update_opt -l no-wrappers -d (N_ "Don't use bin wrappers for executables")
-complete $update_opt -s P -l trust-policy -d (N_ "Specify gem trust policy") -x
-complete $update_opt -l ignore-dependencies -d (N_ "Do not install any required dependent gems")
-complete $update_opt -s y -l include-dependencies -d (N_ "Unconditionally install the required dependent gems")
-complete $update_opt -l system -d (N_ "Update the RubyGems system software")
+complete $update_opt -s i -l install-dir --description "Gem repository directory to get installed gems"
+complete $update_opt -s d -l rdoc --description "Generate RDoc documentation for the gem on install"
+complete $update_opt -l no-rdoc --description "Don't generate RDoc documentation for the gem on install"
+complete $update_opt -l ri --description "Generate RI documentation for the gem on install"
+complete $update_opt -l no-ri --description "Don't generate RI documentation for the gem on install"
+complete $update_opt -s f -l force --description "Force gem to install, bypassing dependency checks"
+complete $update_opt -l no-force --description "Don't force gem to install, bypassing dependency checks"
+complete $update_opt -s t -l test --description "Run unit tests prior to installation"
+complete $update_opt -l no-test --description "Don't run unit tests prior to installation"
+complete $update_opt -s w -l wrappers --description "Use bin wrappers for executables"
+complete $update_opt -l no-wrappers --description "Don't use bin wrappers for executables"
+complete $update_opt -s P -l trust-policy --description "Specify gem trust policy" -x
+complete $update_opt -l ignore-dependencies --description "Do not install any required dependent gems"
+complete $update_opt -s y -l include-dependencies --description "Unconditionally install the required dependent gems"
+complete $update_opt -l system --description "Update the RubyGems system software"