From e51469568efeff33ee5bf1782faf1dc8c30735d3 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Wed, 14 Nov 2018 13:17:48 +1100 Subject: [PATCH] Update command-line help text to explain server descriptions Makes it clear that a each server can also specify port/password/nick/network if desired. Reported by Ant. --- Changelog | 3 +++ source/irc.c | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Changelog b/Changelog index 440eef9..ca5f918 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,8 @@ [Changes 1.2.2] +* Update command-line help text to explain server descriptions. + Reported by Ant. (caf) + * Replace last uses of bcopy() with memcpy(). (caf) * Fix /HISTORY *pattern* and /HISTORY -CLEAR. (caf) diff --git a/source/irc.c b/source/irc.c index aac2b05..12d320b 100644 --- a/source/irc.c +++ b/source/irc.c @@ -211,9 +211,10 @@ static volatile int cntl_c_hit = 0; static const char * const switch_help = "Usage: BitchX [switches] [nickname] [server list] \n" - " The [nickname] can be at most 15 characters long\n" - " The [server list] is a whitespace separate list of server name\n" - " The [switches] may be any or all of the following\n" + " The [nickname] can be at most 15 characters long.\n" + " The [server list] is a whitespace-separated list of server descriptions. Each\n" + " server description is of the form hostname[:port[:password[:nick[:network]]]].\n" + " The [switches] may be any or all of the following:\n" #ifndef WINNT " -H \tuses the virtual hostname if possible\n" #endif @@ -226,7 +227,7 @@ static const char * const switch_help = " -f\t\tyour terminal uses flow controls (^S/^Q), so BitchX shouldn't\n" " -F\t\tyour terminal doesn't use flow control (default)\n" #endif - " -d\t\truns BitchX in \"dumb\" terminal mode\n" + " -d\t\truns BitchX in \"dumb\" terminal mode\n" " -q\t\tdoes not load ~/" IRCRC_NAME "\n" " -r file\tload file as list of servers\n" " -n nickname\tnickname to use\n"