(trunk daemon) revert the file-priority arguments back to their 1.93 state. Use -Bh, -Bn, -Bl for torrent priorities. Make the --help descriptions for all six priority arguments more useful.

This commit is contained in:
Charles Kerr 2010-06-03 23:14:20 +00:00
parent 2f56196206
commit 9607150a39
1 changed files with 6 additions and 6 deletions

View File

@ -228,12 +228,12 @@ static tr_option opts[] =
{ 'p', "port", "Port for incoming peers (Default: " TR_DEFAULT_PEER_PORT_STR ")", "p", 1, "<port>" },
{ 962, "port-test", "Port testing", "pt", 0, NULL },
{ 'P', "random-port", "Random port for incomping peers", "P", 0, NULL },
{ 900, "file-priority-high", "Set the files' priorities as high", "fh", 1, "<files>" },
{ 901, "file-priority-normal", "Set the files' priorities as normal", "fn", 1, "<files>" },
{ 902, "file-priority-low", "Set the files' priorities as low", "fl", 1, "<files>" },
{ 700, "torrent-priority-high", "Set the current torrent(s)' priorities as high", "th", 0, NULL },
{ 701, "torrent-priority-normal","Set the current torrent(s)' priorities as normal", "tn", 0, NULL },
{ 702, "torrent-priority-low", "Set the current torrent(s)' priorities as low", "tl", 0, NULL },
{ 900, "priority-high", "Try to download the specified files first", "ph", 1, "<files>" },
{ 901, "priority-normal", "Try to download the specified files normally", "pn", 1, "<files>" },
{ 902, "priority-low", "Try to download the specified files last", "pl", 1, "<files>" },
{ 700, "bandwidth-high", "Give this torrent first chance at available bandwidth", "Bh", 0, NULL },
{ 701, "bandwidth-normal", "Give this torrent the bandwidth left over from high priority torrents", "Bn", 0, NULL },
{ 702, "bandwidth-low", "Give this torrent the bandwidth left over from high and normal priority torrents", "Bl", 0, NULL },
{ 'r', "remove", "Remove the current torrent(s)", "r", 0, NULL },
{ 930, "peers", "Set the maximum number of peers for the current torrent(s) or globally", "pr", 1, "<max>" },
{ 'R', "remove-and-delete", "Remove the current torrent(s) and delete local data", NULL, 0, NULL },