X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=eb7a140c5de956f25c71a259aa88736efd693112;hp=6c4b5a42e0d2c7974b7e578e7f98f5baab9af4ad;hb=dce2be6d7f9af7dcc0133ee7f0f42e9ef47be568;hpb=48dda5f3e963e13e36300ddaef262660bf169672 diff --git a/src/common/main.cpp b/src/common/main.cpp index 6c4b5a42..eb7a140c 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -202,6 +202,12 @@ int main(int argc, char **argv) cliParser->addOption("ssl-cert", 0, "Specify the path to the SSL Certificate", "path", "configdir/quasselCert.pem"); cliParser->addOption("ssl-key", 0, "Specify the path to the SSL key", "path", "ssl-cert-path"); #endif + cliParser->addSwitch("debug-irc", 0, + "Enable logging of all raw IRC messages to debug log, including " + "passwords! In most cases you should also set --loglevel Debug"); + cliParser->addOption("debug-irc-id", 0, + "Limit raw IRC logging to this network ID. Implies --debug-irc", + "database network ID", "-1"); cliParser->addSwitch("enable-experimental-dcc", 0, "Enable highly experimental and unfinished support for CTCP DCC (DANGEROUS)"); #endif