1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-06 12:47:55 +00:00

Add option aliases -V (for --version) and -h (for --help).

This patch adds -h and -V short options (to complement the usage).

It is based on a patch attached to Debian bug #466063, see
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466063>.

Idea by Jari Aalto <jari.aalto@cante.net>,
patch adapted by Alexander Barton <alex@barton.de>.
This commit is contained in:
Jari Aalto
2008-02-15 21:29:24 +02:00
committed by Alexander Barton
parent 1d9067b019
commit 818a206a42
2 changed files with 23 additions and 18 deletions

View File

@@ -50,10 +50,10 @@ CONNECT later on as IRC Operator to link this ngIRCd to other servers.
\fB\-t\fR, \fB\-\-configtest\fR
Read, validate and display the configuration; then exit.
.TP
\fB\-\-version\fR
\fB\-V\fR, \fB\-\-version\fR
Output version information and exit.
.TP
\fB\-\-help\fR
\fB\-h\fR, \fB\-\-help\fR
Display a brief help text and exit.
.SH FILES
.I :ETCDIR:/ngircd.conf