1
# btdownloadheadless(1) completion
3
have btdownloadheadless.py || have btdownloadcurses.py || \
4
have btdownloadgui.py &&
10
_get_comp_words_by_ref cur prev
13
--responsefile|--saveas)
19
if [[ "$cur" == -* ]]; then
20
COMPREPLY=( $( compgen -W '--max_uploads --keepalive_interval \
21
--download_slice_size --request_backlog --max_message_length \
22
--ip --minport --maxport --responsefile --url --saveas --timeout \
23
--timeout_check_interval --max_slice_length --max_rate_period \
24
--bind --upload_rate_fudge --display_interval --rerequest_interval \
25
--min_peers --http_timeout --max_initiate --max_allow_in \
26
--check_hashes --max_upload_rate --snub_time --spew \
27
--rarest_first_cutoff --min_uploads --report_hash_failures' \
33
complete -F _btdownload btdownloadheadless.py btdownloadcurses.py btdownloadgui.py
38
# sh-indent-comment: t
39
# indent-tabs-mode: nil
41
# ex: ts=4 sw=4 et filetype=sh