Removed --disable-tls command line option

This commit is contained in:
James Booth
2015-10-18 00:17:45 +01:00
parent 31ecd41c8f
commit 9d2745e462
7 changed files with 11 additions and 22 deletions

View File

@@ -42,7 +42,6 @@
#include "profanity.h"
#include "command/command.h"
static gboolean disable_tls = FALSE;
static gboolean version = FALSE;
static char *log = "INFO";
static char *account_name = NULL;
@@ -58,7 +57,6 @@ main(int argc, char **argv)
static GOptionEntry entries[] =
{
{ "version", 'v', 0, G_OPTION_ARG_NONE, &version, "Show version information", NULL },
{ "disable-tls", 'd', 0, G_OPTION_ARG_NONE, &disable_tls, "Disable TLS", NULL },
{ "account", 'a', 0, G_OPTION_ARG_STRING, &account_name, "Auto connect to an account on startup" },
{ "log",'l', 0, G_OPTION_ARG_STRING, &log, "Set logging levels, DEBUG, INFO (default), WARN, ERROR", "LEVEL" },
{ NULL }
@@ -137,7 +135,7 @@ main(int argc, char **argv)
return 0;
}
prof_run(disable_tls, log, account_name);
prof_run(log, account_name);
return 0;
}