From 1868486419b5354a7a2e45b263a0b698ab51e83c Mon Sep 17 00:00:00 2001 From: alturiak <1785173+alturiak@users.noreply.github.com> Date: Tue, 4 Sep 2018 21:10:37 +0200 Subject: [PATCH] core: Improve setkey usage output Provide information about available encryption modes and prefixes in /setkey's usage output. --- src/core/coreuserinputhandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/coreuserinputhandler.cpp b/src/core/coreuserinputhandler.cpp index 0b6e5b73..82c2b90e 100644 --- a/src/core/coreuserinputhandler.cpp +++ b/src/core/coreuserinputhandler.cpp @@ -769,7 +769,8 @@ void CoreUserInputHandler::handleSetkey(const BufferInfo& bufferInfo, const QStr typeByTarget(bufname), bufname, tr("[usage] /setkey sets the encryption key for nick or channel. " - "/setkey when in a channel or query buffer sets the key for it.") + "/setkey when in a channel or query buffer sets the key for it. " + "Prefix by cbc: or ebc: to explicitly set the encryption mode respectively. Default is CBC.") )); return; } -- 2.20.1