From 034a98587c239745d0af07a0d3ef369e46c92ea9 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 23 Apr 2014 22:43:05 +0100 Subject: [PATCH] Added -a (--account) option to man page --- docs/profanity.1 | 3 +++ src/main.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 } };