Changeset 14707 for trunk/daemon/remote.c
- Timestamp:
- Mar 5, 2016, 5:27:40 PM (6 years ago)
- File:
-
- 1 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);
Note: See TracChangeset
for help on using the changeset viewer.