mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
24 lines
746 B
Bash
Executable File
24 lines
746 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
PORT_NUMBER=${1:-5001}
|
|
|
|
echo "Option Strings"
|
|
echo "=============="
|
|
echo
|
|
echo "Introduction"
|
|
echo "------------"
|
|
echo
|
|
echo "Client version: " `xmlrpc2scgi.py -p scgi://127.0.0.1:${PORT_NUMBER} system.client_version`
|
|
echo
|
|
echo "Generated by 'rtorrent/doc/scripts/print_option_string.sh' on `date -u`."
|
|
|
|
for i in strings.choke_heuristics strings.choke_heuristics.upload strings.choke_heuristics.download strings.connection_type strings.encryption strings.ip_filter strings.ip_tos strings.log_group strings.tracker_event strings.tracker_mode; do
|
|
echo
|
|
echo $i
|
|
echo `echo $i | tr 'a-z_.' '-'`
|
|
echo
|
|
echo '```'
|
|
xmlrpc2scgi.py -p scgi://127.0.0.1:${PORT_NUMBER} $i | tr , '\n' | tr '[' ' ' | tr ']' ' '
|
|
echo '```'
|
|
done
|