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, "