about summary refs log tree commit diff
path: root/Completion/Unix/Command/_bpython
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-10-14 23:03:40 +0200
committerOliver Kiddle <opk@zsh.org>2014-10-14 23:04:45 +0200
commit13fc579343b24d298fb8905933b6000d7fcda114 (patch)
treecbc1000696357438714107635f93166bcab76d3a /Completion/Unix/Command/_bpython
parent66320ca93a717467a0ed0d34da4c06257953aa50 (diff)
downloadzsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.gz
zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.xz
zsh-13fc579343b24d298fb8905933b6000d7fcda114.zip
33467: correct return status on functions and numerous other minor fixes
Diffstat (limited to 'Completion/Unix/Command/_bpython')
-rw-r--r--Completion/Unix/Command/_bpython12
1 files changed, 6 insertions, 6 deletions
diff --git a/Completion/Unix/Command/_bpython b/Completion/Unix/Command/_bpython
index c51cc8c3c..233e032e6 100644
--- a/Completion/Unix/Command/_bpython
+++ b/Completion/Unix/Command/_bpython
@@ -13,10 +13,10 @@ all_opts=(
 )
 
 urwid_opts=(
-  '(-r --reactor)'{-r,--reactor}'[use Twisted reactor instead of the event loop]:reactor:'
+  '(-r --reactor)'{-r,--reactor}'[use twisted reactor instead of the event loop]:reactor'
   '--help-reactors[display list of available Twisted reactors]'
-  '(-p --plugin)'{-p,--plugin}'[exectue a twistd plugin]:plugin:'
-  '(-s --server)'{-s,--server}'[run an eval server on the given port]:port:'
+  '(-p --plugin)'{-p,--plugin}'[execute a twisted plugin]:plugin'
+  '(-s --server)'{-s,--server}'[run an eval server on the given port]:port:_ports'
 )
 
 gtk_opts=(
@@ -26,19 +26,19 @@ gtk_opts=(
 case "$service" in
   bpython|bpython2|bpython3)
     _arguments \
-      "$all_opts[@]" && return 0
+      "$all_opts[@]"
   ;;
 
   bpython-urwid|bpython2-urwid|bpython3-urwid)
     _arguments \
       "$all_opts[@]" \
-      "$urwid_opts[@]" && return 0
+      "$urwid_opts[@]"
   ;;
 
   bpython-gtk|bpython2-gtk|bpython3-gtk)
     _arguments \
       "$all_opts[@]" \
-      "$gtk_opts[@]" && return 0
+      "$gtk_opts[@]"
   ;;
 esac