fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerPrepare to not localize private function descriptionsd835c5252

master
2.7 KiB34 linesraw
1# localization: tier3
2#
3# Bittorrent commands
4function __fish_complete_bittorrent
5    complete -c $argv -l max_uploads -x --description "Maximum uploads at once"
6    complete -c $argv -l keepalive_interval -x --description "Number of seconds between keepalives"
7    complete -c $argv -l download_slice_size -x --description "Bytes per request"
8    complete -c $argv -l request_backlog -x --description "Requests per pipe"
9    complete -c $argv -l max_message_length -x --description "Maximum length prefix encoding"
10    complete -c $argv -l ip --description "IP to report to the tracker" -x -a "(__fish_print_addresses)"
11    complete -c $argv -l minport --description "Minimum port to listen to"
12    complete -c $argv -l maxport --description "Maximum port to listen to"
13    complete -c $argv -l responsefile -r --description "File for server response"
14    complete -c $argv -l url -x --description "URL to get file from"
15    complete -c $argv -l saveas -r --description "Local file target"
16    complete -c $argv -l timeout -x --description "Time to close inactive socket"
17    complete -c $argv -l timeout_check_interval -x --description "Time between checking timeouts"
18    complete -c $argv -l max_slice_length -x --description "Maximum outgoing slice length"
19    complete -c $argv -l max_rate_period -x --description "Maximum time to guess rate"
20    complete -c $argv -l bind -x --description "IP to bind to locally" -a "(__fish_print_addresses --all)"
21    complete -c $argv -l display_interval -x --description "Time between screen updates"
22    complete -c $argv -l rerequest_interval -x --description "Time to wait between requesting more peers"
23    complete -c $argv -l min_peers -x --description "Minimum number of peers to not do requesting"
24    complete -c $argv -l http_timeout -x --description "Number of seconds before assuming http timeout"
25    complete -c $argv -l max_initiate -x --description "Number of peers at which to stop initiating new connections"
26    complete -c $argv -l max_allow_in -x --description "Maximum number of connections to allow"
27    complete -c $argv -l check_hashes -x --description "Whether to check hashes on disk"
28    complete -c $argv -l max_upload_rate -x --description "Maximum kB/s to upload at"
29    complete -c $argv -l snub_time -x --description "Seconds to wait for data to come in before assuming choking"
30    complete -c $argv -l spew -x --description "Whether to display diagnostic info"
31    complete -c $argv -l rarest_first_cutoff -x --description "Number of downloads at which to switch from random to rarest first"
32    complete -c $argv -l min_uploads -x --description "Number of uploads to fill out to with optimistic unchokes"
33    complete -c $argv -l report_hash_failiures -x --description "Whether to inform the user that hash failures occur"
34end