diff --git a/docs/profanity.1 b/docs/profanity.1 index f2a85314..1f4a61b7 100644 --- a/docs/profanity.1 +++ b/docs/profanity.1 @@ -20,6 +20,9 @@ Show version information. .BI "\-h, \-\-help" Show help on command line arguments. .TP +.BI "\-a, \-\-account" +Auto connect to an account on startup. +.TP .BI "\-d, \-\-disable-tls" Disable TLS for servers that either don't support it, or claim to but do not complete the handshake. diff --git a/src/main.c b/src/main.c index 25eef65e..5c95a994 100644 --- a/src/main.c +++ b/src/main.c @@ -69,7 +69,7 @@ main(int argc, char **argv) { { "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 start-up" }, + { "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 } };