1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-13 10:20:28 +00:00
ngircd/src
Alexander Barton 289a26e9e4 Implement Help() function parsing and returning the help text
This function parses the already read in help text and sends the requested
portions to the user. Parsing is done as following when a user user
issues a "HELP <cmd>" command:

 1. Search the file for a line "- <cmd>",
 2. Output all subsequent lines that start with a TAB (ASCII 9) character
    to the client using NOTICE commands, treat lines containing a single "."
    after the TAB as empty lines.
 3. Break at the first line not starting with a TAB character.

This format allows to have information to each command stored in this file
which will not be sent to an IRC user requesting help which enables us to
have additional annotations stored here which further describe the origin,
implementation details, or limits of the specific command.

A special "Intro" block is returned to the user when the HELP command is
used without a command name.
2013-01-01 14:57:03 +01:00
..
ipaddr Add some more casts in assert() statemens 2012-12-25 19:21:40 +01:00
ngircd Implement Help() function parsing and returning the help text 2013-01-01 14:57:03 +01:00
portab Add Cygwin binaries (*.exe) to .gitignore files 2012-12-25 18:52:49 +01:00
testsuite Add Cygwin binaries (*.exe) to .gitignore files 2012-12-25 18:52:49 +01:00
tool Add a few casts, fix compiler warnings on NetBSD 5 2012-11-12 22:39:57 +01:00
.gitignore GIT: added src/src/config.h.in~ to ignore list. 2008-06-11 16:02:06 +02:00
Makefile.am IPv6 support. 2008-02-26 23:50:35 +01:00