Changeset 14707
- Timestamp:
- Mar 5, 2016, 5:27:40 PM (7 years ago)
- Location:
- trunk/daemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/remote.c
r14633 r14707 275 275 { 'r', "remove", "Remove the current torrent(s)", "r", 0, NULL }, 276 276 { 930, "peers", "Set the maximum number of peers for the current torrent(s) or globally", "pr", 1, "<max>" }, 277 { 'R', "remove-and-delete", "Remove the current torrent(s) and delete local data", NULL, 0, NULL },277 { 840, "remove-and-delete", "Remove the current torrent(s) and delete local data", "rad", 0, NULL }, 278 278 { 800, "torrent-done-script", "Specify a script to run when a torrent finishes", NULL, 1, "<file>" }, 279 279 { 801, "no-torrent-done-script", "Don't run a script when torrents finish", NULL, 0, NULL }, … … 472 472 473 473 case 'r': /* remove */ 474 case 'R': /* remove and delete */474 case 840: /* remove and delete */ 475 475 return MODE_TORRENT_REMOVE; 476 476 … … 2278 2278 } 2279 2279 case 'r': 2280 case 'R':2280 case 840: 2281 2281 { 2282 2282 tr_variant * args; … … 2285 2285 tr_variantDictAddStr (top, TR_KEY_method, "torrent-remove"); 2286 2286 args = tr_variantDictAddDict (top, ARGUMENTS, 2); 2287 tr_variantDictAddBool (args, TR_KEY_delete_local_data, c =='R');2287 tr_variantDictAddBool (args, TR_KEY_delete_local_data, c == 840); 2288 2288 addIdArg (args, id, NULL); 2289 2289 status |= flush (rpcurl, &top); -
trunk/daemon/transmission-remote.1
r14704 r14707 51 51 .Op Fl pr Ar peers 52 52 .Op Fl r 53 .Op Fl R53 .Op Fl rad 54 54 .Op Fl s | S 55 55 .Op Fl sr Ar ratio … … 230 230 .It Fl r Fl -remove 231 231 Remove the current torrent(s). This does not delete the downloaded data. 232 .It Fl -remove-and-delete232 .It Fl rad Fl -remove-and-delete 233 233 Remove the current torrent(s) and delete their downloaded data. 234 234 .It Fl -reannounce
Note: See TracChangeset
for help on using the changeset viewer.