Changeset 11518
- Timestamp:
- Dec 12, 2010, 3:58:06 PM (12 years ago)
- Location:
- trunk/daemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/remote.c
r11517 r11518 269 269 { 701, "bandwidth-normal", "Give this torrent bandwidth left over by high priority torrents", "Bn", 0, NULL }, 270 270 { 702, "bandwidth-low", "Give this torrent bandwidth left over by high and normal priority torrents", "Bl", 0, NULL }, 271 { 600, "reannounce", "Reannounce the current torrent(s)", NULL, 0, NULL }, 271 272 { 'r', "remove", "Remove the current torrent(s)", "r", 0, NULL }, 272 273 { 930, "peers", "Set the maximum number of peers for the current torrent(s) or globally", "pr", 1, "<max>" }, … … 450 451 case 'v': /* verify */ 451 452 return MODE_TORRENT_VERIFY; 453 454 case 600: /* reannounce */ 455 return MODE_TORRENT_REANNOUNCE; 452 456 453 457 case 962: /* port-test */ … … 2195 2199 break; 2196 2200 } 2201 case 600: 2202 { 2203 tr_benc * top; 2204 if( tset != 0 ) { addIdArg( tr_bencDictFind( tset, ARGUMENTS ), id ); status |= flush( host, port, &tset ); } 2205 top = tr_new0( tr_benc, 1 ); 2206 tr_bencInitDict( top, 2 ); 2207 tr_bencDictAddStr( top, "method", "torrent-reannounce" ); 2208 addIdArg( tr_bencDictAddDict( top, ARGUMENTS, 1 ), id ); 2209 status |= flush( host, port, &top ); 2210 break; 2211 } 2197 2212 case 'v': 2198 2213 { -
trunk/daemon/transmission-remote.1
r11517 r11518 216 216 .It Fl -remove-and-delete 217 217 Remove the current torrent(s) and delete their downloaded data. 218 .It Fl -reannounce 219 Reannounce the current torrent(s). This is the same as the GUI's "ask tracker for more peers" button. 218 220 .It Fl -move 219 221 Move the current torrents' data from their current locations to the specified directory.
Note: See TracChangeset
for help on using the changeset viewer.