diff options
author | 2011-09-21 16:31:40 +0200 | |
---|---|---|
committer | 2011-09-21 16:31:40 +0200 | |
commit | c25c48f76369d61e23de283d34f9b5b80d19f022 (patch) | |
tree | cab0964fadf36c4bb3c4b87f4f214cf7b29857da | |
parent | 5105d8d87ef97a520a1076a4cc33ed43956a63d7 (diff) | |
parent | 35af336ff6a7e8738d54b096053c3b2448e8a8ff (diff) |
Merge commit 'refs/merge-requests/13' of git://gitorious.org/fish-shell/fish-shell into merge-requests/13
-rw-r--r-- | share/completions/gem.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/completions/gem.fish b/share/completions/gem.fish index d7b4221a..f3b4f92c 100644 --- a/share/completions/gem.fish +++ b/share/completions/gem.fish @@ -4,8 +4,8 @@ ##### # Global options -complete -c gem -n 'not __subcommand_given' -s h -l help -d "Print usage informations and quit" -complete -c gem -n 'not __subcommand_given' -s v -l version -d "Print the version and quit" +complete -c gem -n 'not __fish_use_subcommand' -s h -l help -d "Print usage informations and quit" +complete -c gem -n 'not __fish_use_subcommand' -s v -l version -d "Print the version and quit" ##### # Subcommands @@ -31,7 +31,7 @@ complete -c gem -n '__fish_use_subcommand' -xa 'update\t"'(_ "Update the named g # Subcommand switches # common opts -set -l common_opt -c gem -n 'not __fish_use_subcommand' #'__subcommand_given' +set -l common_opt -c gem -n 'not __fish_use_subcommand' 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" |