From 2c0276fc23d674e4869dbf842bb49c7ec91f27cd Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sat, 19 Jul 2014 23:35:10 +0000 Subject: [PATCH] (trunk, daemon) #5743 'unknown option: -R': revert previous commit, sync manpage --- daemon/remote.c | 2 +- daemon/transmission-remote.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/remote.c b/daemon/remote.c index 33b8e3bc6..0e8a02546 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -278,7 +278,7 @@ static tr_option opts[] = { 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", "R", 0, NULL }, + { '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" }, diff --git a/daemon/transmission-remote.1 b/daemon/transmission-remote.1 index b5482a151..a537c5ea6 100644 --- a/daemon/transmission-remote.1 +++ b/daemon/transmission-remote.1 @@ -229,7 +229,7 @@ Set the maximum number of peers. If current torrent(s) are selected this operates on them. Otherwise, it changes the global setting. .It Fl r Fl -remove Remove the current torrent(s). This does not delete the downloaded data. -.It Fl R Fl -remove-and-delete +.It Fl -remove-and-delete Remove the current torrent(s) and delete their downloaded data. .It Fl -reannounce Reannounce the current torrent(s). This is the same as the GUI's "ask tracker for more peers" button.