From 17373241183294f60e04b627acf12192f100599e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 21 Jul 2008 16:09:14 +0000 Subject: [PATCH] sync the remote and cli's encryption options. man page cleanup. --- cli/cli.c | 15 ++++++--------- cli/transmissioncli.1 | 23 +++++++++++++++++------ 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/cli/cli.c b/cli/cli.c index 308b03c60..53dc0f444 100644 --- a/cli/cli.c +++ b/cli/cli.c @@ -444,8 +444,9 @@ const struct tr_option options[] = { { 'c', "comment", "Set the new torrent's comment", "c", 1, "" }, { 'd', "downlimit", "Set max download speed in KB/s", "d", 1, "" }, { 'D', "no-downlimit", "Don't limit the download speed", "D", 0, NULL }, - { 'e', "encryption", "Set encryption mode (required, preferred, tolerated)", - "e", 1, "" }, + { 910, "encryption-required", "Encrypt all peer connections", "er", 0, NULL }, + { 911, "encryption-preferred", "Prefer encrypted peer connections", "ep", 0, NULL }, + { 912, "encryption-tolerated", "Prefer unencrypted peer connections", "et", 0, NULL }, { 'f', "finish", "Set a script to run when the torrent finishes", "f", 1, "