1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Added -a (--account) option to man page

This commit is contained in:
James Booth 2014-04-23 22:43:05 +01:00
parent c7b3ff02ff
commit 034a98587c
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,9 @@ Show version information.
.BI "\-h, \-\-help" .BI "\-h, \-\-help"
Show help on command line arguments. Show help on command line arguments.
.TP .TP
.BI "\-a, \-\-account"
Auto connect to an account on startup.
.TP
.BI "\-d, \-\-disable-tls" .BI "\-d, \-\-disable-tls"
Disable TLS for servers that either don't support it, or claim to but do not Disable TLS for servers that either don't support it, or claim to but do not
complete the handshake. complete the handshake.

View File

@ -69,7 +69,7 @@ main(int argc, char **argv)
{ {
{ "version", 'v', 0, G_OPTION_ARG_NONE, &version, "Show version information", NULL }, { "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 }, { "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" }, { "log",'l', 0, G_OPTION_ARG_STRING, &log, "Set logging levels, DEBUG, INFO (default), WARN, ERROR", "LEVEL" },
{ NULL } { NULL }
}; };