summaryrefslogtreecommitdiff
path: root/completions/btdownloadheadless.py
diff options
context:
space:
mode:
Diffstat (limited to 'completions/btdownloadheadless.py')
-rw-r--r--completions/btdownloadheadless.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/btdownloadheadless.py b/completions/btdownloadheadless.py
index dc9789a9..f0b74615 100644
--- a/completions/btdownloadheadless.py
+++ b/completions/btdownloadheadless.py
@@ -8,11 +8,11 @@ _btdownload()
case $prev in
--responsefile|--saveas)
_filedir
- return 0
+ return
;;
esac
- if [[ "$cur" == -* ]]; then
+ if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--max_uploads --keepalive_interval
--download_slice_size --request_backlog --max_message_length
--ip --minport --maxport --responsefile --url --saveas --timeout
@@ -29,4 +29,4 @@ _btdownload()
complete -F _btdownload btdownloadheadless.py btdownloadcurses.py \
btdownloadgui.py
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh