fork/fish-shell

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

Daniel Rainerformat: use 4-space indents in more filesc5e4fed02

master
2.8 KiB48 linesraw
1complete -c mtr -x -a '(__fish_print_hostnames)'
2
3complete -c mtr -s h -l help -d 'Display help and exit'
4complete -c mtr -s v -l version -d 'Output version information and exit'
5complete -c mtr -s 4 -d 'Use IPv4 only'
6complete -c mtr -s 6 -d 'Use IPv6 only'
7complete -c mtr -s F -l filename -d 'Read hostname(s) from a file' -rF
8complete -c mtr -s r -l report -d 'Output a statistic report'
9complete -c mtr -s w -l report-wide -d 'Output report with full hostnames'
10complete -c mtr -s x -l xml -d 'Output xml format'
11complete -c mtr -s t -l curses -d 'Use curses terminal interface'
12complete -c mtr -l displaymode -d 'Select initial display mode' -x -a \
13    '0\t"Statistics" 1\t"Stripchart without latency" 2\t"Stripchart with latency"'
14complete -c mtr -s g -l gtk -d 'Use the GTK+ interface (if available)'
15complete -c mtr -s l -l raw -d 'Output raw format'
16complete -c mtr -s C -l csv -d 'Output csv format'
17complete -c mtr -s j -l json -d 'Output json format'
18complete -c mtr -s p -l split -d 'Split output'
19complete -c mtr -s n -l no-dns -d 'Do not resolve host names'
20complete -c mtr -s b -l show-ips -d 'Show IP numbers and host names'
21complete -c mtr -s o -l order -d 'Select output fields' -x
22complete -c mtr -s y -l ipinfo -d 'Select IP information in output' -x -a '
23    0\t"AS number"
24    1\t"IP prefix"
25    2\t"Country code"
26    3\t"RIR organization"
27    4\t"Allocation date of the IP prefix"
28'
29complete -c mtr -s z -l aslookup -d 'Display AS number'
30complete -c mtr -s i -l interval -d 'ICMP echo request interval (sec)' -x
31complete -c mtr -s c -l report-cycles -d 'Set the number of pings sent' -x
32complete -c mtr -s s -l psize -d 'Set the packet size used for probing (bytes)' -x
33complete -c mtr -s B -l bitpattern -d 'Set bit pattern to use in payload' -x -a '(seq 0 256)'
34complete -c mtr -s G -l gracetime -d 'Number of seconds to wait for responses' -x
35complete -c mtr -s Q -l tos -d 'Type of service field in IP header' -x -a '(seq 0 255)'
36complete -c mtr -s e -l mpls -d 'Display information from ICMP extensions'
37complete -c mtr -s I -l interface -d 'Use named network interface' -x
38complete -c mtr -s a -l address -d 'Bind the outgoing socket to ADDRESS' -x
39complete -c mtr -s f -l first-ttl -d 'Set the TTL start number' -x
40complete -c mtr -s m -l max-ttl -d 'Maximum number of hops' -x
41complete -c mtr -s U -l max-unknown -d 'Maximum number of unknown host' -x
42complete -c mtr -s u -l udp -d 'use UDP instead of ICMP echo'
43complete -c mtr -s T -l tcp -d 'use TCP instead of ICMP echo'
44complete -c mtr -s S -l sctp -d 'Use Stream Control Transmission instead of ICMP echo'
45complete -c mtr -s P -l port -d 'Target port number for TCP SCTP or UDP' -x
46complete -c mtr -s L -l localport -d 'Source port number for UDP' -x
47complete -c mtr -s Z -l timeout -d 'Seconds to keep probe sockets open' -x
48complete -c mtr -s M -l mark -d 'Mark each sent packet' -x