]> granicus.if.org Git - transmission/commitdiff
(trunk daemon) #3775 "'-tall' no longer works for transmission-remote" -- fixed.
authorJordan Lee <jordan@transmissionbt.com>
Wed, 2 Feb 2011 03:17:38 +0000 (03:17 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 2 Feb 2011 03:17:38 +0000 (03:17 +0000)
looks like this was broken in r10907 for #3368 in 2.00 when we added "-ta" as the short form of "--tracker-add". "-ta" seems to be conflicting with "-tall". This can be fixed by changing --tracker-add's short form.

daemon/remote.c
daemon/transmission-remote.1

index 0fb4d7ceb04309402b3f9058529a19f6748d8346..ae86f0cb8befec71160e0c224b6fd892fa7af0cc 100644 (file)
@@ -285,7 +285,7 @@ static tr_option opts[] =
     { 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", "ta", 1, "<tracker>" },
+    { 710, "tracker-add",            "Add a tracker to a torrent", "td", 1, "<tracker>" },
     { 712, "tracker-remove",         "Remove a tracker from a torrent", "tr", 1, "<trackerId>" },
     { 's', "start",                  "Start the current torrent(s)", "s",  0, NULL },
     { 'S', "stop",                   "Stop the current torrent(s)", "S",  0, NULL },
index 7a43d8c6efe1149e167cd466853f93195e11d23d..f16d8655665f55cbbd04e87153483ee0ed7cffed 100644 (file)
@@ -231,7 +231,7 @@ Let the current torrent(s) seed until a specific
 Let the current torrent(s) seed regardless of ratio
 .It Fl srd Fl -seedratio-default
 Let the current torrent(s) use the global seedratio settings
-.It Fl ta Fl -tracker-add Ar tracker
+.It Fl td Fl -tracker-add Ar tracker
 Add a tracker to a torrent
 .It Fl tr Fl -tracker-remove Ar trackerId
 Remove a tracker from a torrent