From: Jordan Lee Date: Tue, 22 Jan 2013 18:56:15 +0000 (+0000) Subject: (remote) fix global search-and-replace damage wreaked upon the --help text, reported... X-Git-Tag: 2.80~232 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c44d6db2de7933aaae881674e2b3a2e953a7147;p=transmission (remote) fix global search-and-replace damage wreaked upon the --help text, reported by Elbandi --- diff --git a/daemon/remote.c b/daemon/remote.c index 7cc740ed2..ab2ea38dc 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -240,21 +240,21 @@ static tr_option opts[] = { 'c', "incomplete-dir", "Where to store new torrents until they're complete", "c", 1, "" }, { 'C', "no-incomplete-dir", "Don't store incomplete torrents in a different location", "C", 0, NULL }, { 'b', "debug", "Print debugging information", "b", 0, NULL }, - { 'd', "downlimit", "Set the max download speed in "SPEED_K_STR" for the current torrent (s) or globally", "d", 1, "" }, - { 'D', "no-downlimit", "Disable max download speed for the current torrent (s) or globally", "D", 0, NULL }, + { 'd', "downlimit", "Set the max download speed in "SPEED_K_STR" for the current torrent(s) or globally", "d", 1, "" }, + { 'D', "no-downlimit", "Disable max download speed for the current torrent(s) or globally", "D", 0, NULL }, { 'e', "cache", "Set the maximum size of the session's memory cache (in " MEM_M_STR ")", "e", 1, "" }, { 910, "encryption-required", "Encrypt all peer connections", "er", 0, NULL }, { 911, "encryption-preferred", "Prefer encrypted peer connections", "ep", 0, NULL }, { 912, "encryption-tolerated", "Prefer unencrypted peer connections", "et", 0, NULL }, { 850, "exit", "Tell the transmission session to shut down", NULL, 0, NULL }, - { 940, "files", "List the current torrent (s)' files", "f", 0, NULL }, + { 940, "files", "List the current torrent(s)' files", "f", 0, NULL }, { 'g', "get", "Mark files for download", "g", 1, "" }, { 'G', "no-get", "Mark files for not downloading", "G", 1, "" }, - { 'i', "info", "Show the current torrent (s)' details", "i", 0, NULL }, - { 940, "info-files", "List the current torrent (s)' files", "if", 0, NULL }, - { 941, "info-peers", "List the current torrent (s)' peers", "ip", 0, NULL }, - { 942, "info-pieces", "List the current torrent (s)' pieces", "ic", 0, NULL }, - { 943, "info-trackers", "List the current torrent (s)' trackers", "it", 0, NULL }, + { 'i', "info", "Show the current torrent(s)' details", "i", 0, NULL }, + { 940, "info-files", "List the current torrent(s)' files", "if", 0, NULL }, + { 941, "info-peers", "List the current torrent(s)' peers", "ip", 0, NULL }, + { 942, "info-pieces", "List the current torrent(s)' pieces", "ic", 0, NULL }, + { 943, "info-trackers", "List the current torrent(s)' trackers", "it", 0, NULL }, { 920, "session-info", "Show the session's details", "si", 0, NULL }, { 921, "session-stats", "Show the session's statistics", "st", 0, NULL }, { 'l', "list", "List all torrents", "l", 0, NULL }, @@ -271,46 +271,46 @@ static tr_option opts[] = { 'p', "port", "Port for incoming peers (Default: " TR_DEFAULT_PEER_PORT_STR ")", "p", 1, "" }, { 962, "port-test", "Port testing", "pt", 0, NULL }, { 'P', "random-port", "Random port for incomping peers", "P", 0, NULL }, - { 900, "priority-high", "Try to download these file (s) first", "ph", 1, "" }, - { 901, "priority-normal", "Try to download these file (s) normally", "pn", 1, "" }, - { 902, "priority-low", "Try to download these file (s) last", "pl", 1, "" }, + { 900, "priority-high", "Try to download these file(s) first", "ph", 1, "" }, + { 901, "priority-normal", "Try to download these file(s) normally", "pn", 1, "" }, + { 902, "priority-low", "Try to download these file(s) last", "pl", 1, "" }, { 700, "bandwidth-high", "Give this torrent first chance at available bandwidth", "Bh", 0, NULL }, { 701, "bandwidth-normal", "Give this torrent bandwidth left over by high priority torrents", "Bn", 0, NULL }, { 702, "bandwidth-low", "Give this torrent bandwidth left over by high and normal priority torrents", "Bl", 0, NULL }, - { 600, "reannounce", "Reannounce the current torrent (s)", NULL, 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, "" }, - { 'R', "remove-and-delete", "Remove the current torrent (s) and delete local data", NULL, 0, NULL }, + { 600, "reannounce", "Reannounce the current torrent(s)", NULL, 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, "" }, + { 'R', "remove-and-delete", "Remove the current torrent(s) and delete local data", NULL, 0, NULL }, { 800, "torrent-done-script", "Specify a script to run when a torrent finishes", NULL, 1, "" }, { 801, "no-torrent-done-script", "Don't run a script when torrents finish", NULL, 0, NULL }, - { 950, "seedratio", "Let the current torrent (s) seed until a specific ratio", "sr", 1, "ratio" }, - { 951, "seedratio-default", "Let the current torrent (s) use the global seedratio settings", "srd", 0, NULL }, - { 952, "no-seedratio", "Let the current torrent (s) seed regardless of ratio", "SR", 0, NULL }, + { 950, "seedratio", "Let the current torrent(s) seed until a specific ratio", "sr", 1, "ratio" }, + { 951, "seedratio-default", "Let the current torrent(s) use the global seedratio settings", "srd", 0, NULL }, + { 952, "no-seedratio", "Let the current torrent(s) seed regardless of ratio", "SR", 0, NULL }, { 953, "global-seedratio", "All torrents, unless overridden by a per-torrent setting, should seed until a specific ratio", "gsr", 1, "ratio" }, { 954, "no-global-seedratio", "All torrents, unless overridden by a per-torrent setting, should seed regardless of ratio", "GSR", 0, NULL }, { 710, "tracker-add", "Add a tracker to a torrent", "td", 1, "" }, { 712, "tracker-remove", "Remove a tracker from a torrent", "tr", 1, "" }, - { 's', "start", "Start the current torrent (s)", "s", 0, NULL }, - { 'S', "stop", "Stop the current torrent (s)", "S", 0, NULL }, - { 't', "torrent", "Set the current torrent (s)", "t", 1, "" }, + { 's', "start", "Start the current torrent(s)", "s", 0, NULL }, + { 'S', "stop", "Stop the current torrent(s)", "S", 0, NULL }, + { 't', "torrent", "Set the current torrent(s)", "t", 1, "" }, { 990, "start-paused", "Start added torrents paused", NULL, 0, NULL }, { 991, "no-start-paused", "Start added torrents unpaused", NULL, 0, NULL }, { 992, "trash-torrent", "Delete torrents after adding", NULL, 0, NULL }, { 993, "no-trash-torrent", "Do not delete torrents after adding", NULL, 0, NULL }, - { 984, "honor-session", "Make the current torrent (s) honor the session limits", "hl", 0, NULL }, - { 985, "no-honor-session", "Make the current torrent (s) not honor the session limits", "HL", 0, NULL }, - { 'u', "uplimit", "Set the max upload speed in "SPEED_K_STR" for the current torrent (s) or globally", "u", 1, "" }, - { 'U', "no-uplimit", "Disable max upload speed for the current torrent (s) or globally", "U", 0, NULL }, + { 984, "honor-session", "Make the current torrent(s) honor the session limits", "hl", 0, NULL }, + { 985, "no-honor-session", "Make the current torrent(s) not honor the session limits", "HL", 0, NULL }, + { 'u', "uplimit", "Set the max upload speed in "SPEED_K_STR" for the current torrent(s) or globally", "u", 1, "" }, + { 'U', "no-uplimit", "Disable max upload speed for the current torrent(s) or globally", "U", 0, NULL }, { 830, "utp", "Enable uTP for peer connections", NULL, 0, NULL }, { 831, "no-utp", "Disable uTP for peer connections", NULL, 0, NULL }, - { 'v', "verify", "Verify the current torrent (s)", "v", 0, NULL }, + { 'v', "verify", "Verify the current torrent(s)", "v", 0, NULL }, { 'V', "version", "Show version number and exit", "V", 0, NULL }, { 'w', "download-dir", "When adding a new torrent, set its download folder. Otherwise, set the default download folder", "w", 1, "" }, { 'x', "pex", "Enable peer exchange (PEX)", "x", 0, NULL }, { 'X', "no-pex", "Disable peer exchange (PEX)", "X", 0, NULL }, { 'y', "lpd", "Enable local peer discovery (LPD)", "y", 0, NULL }, { 'Y', "no-lpd", "Disable local peer discovery (LPD)", "Y", 0, NULL }, - { 941, "peer-info", "List the current torrent (s)' peers", "pi", 0, NULL }, + { 941, "peer-info", "List the current torrent(s)' peers", "pi", 0, NULL }, { 0, NULL, NULL, NULL, 0, NULL } };