1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Hide --session from --help output and remove its mention from the manual,

internal use only.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4525 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-05-26 12:19:08 +00:00 committed by exg
parent fda5181dbd
commit 20d8f4d26b
2 changed files with 1 additions and 5 deletions

View File

@ -24,10 +24,6 @@ specifies the home directory of Irssi.
Default is
.BR ~/.irssi
.TP
.BI "\-\-session="PATH
this option is here just for internal use. It is needed during an /UPGRADE.
For more information see /help upgrade.
.TP
.BI "\-c, \-\-connect="SERVER
connects to
.I SERVER

View File

@ -335,7 +335,7 @@ static void sig_init_finished(void)
void session_register_options(void)
{
static struct poptOption options[] = {
{ "session", 0, POPT_ARG_STRING, &session_file, 0, "Used by /UPGRADE command", "PATH" },
{ "session", 0, POPT_ARG_STRING | POPT_ARGFLAG_DOC_HIDDEN, &session_file, 0, "Used by /UPGRADE command", "PATH" },
{ NULL, '\0', 0, NULL }
};