updated man page
This commit is contained in:
parent
1871cf41b3
commit
37ca48e770
26
sic.1
26
sic.1
@ -3,6 +3,17 @@
|
|||||||
sic \- simple irc client
|
sic \- simple irc client
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B sic
|
.B sic
|
||||||
|
.RB [ \-s
|
||||||
|
.IR server ]
|
||||||
|
.RB [ \-p
|
||||||
|
.IR port ]
|
||||||
|
.RB [ \-n
|
||||||
|
.IR nick ]
|
||||||
|
.RB [ \-k
|
||||||
|
.IR keyword ]
|
||||||
|
.RB [ \-f
|
||||||
|
.IR fullname ]
|
||||||
|
.RB \-v
|
||||||
.RB [ \-v ]
|
.RB [ \-v ]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B sic
|
.B sic
|
||||||
@ -12,6 +23,21 @@ also all channel traffic into one output, that you don't have to switch
|
|||||||
different channel buffers, that's actually a feature.
|
different channel buffers, that's actually a feature.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
|
.BI \-s " server"
|
||||||
|
Overrides the default server (irc.oftc.net)
|
||||||
|
.TP
|
||||||
|
.BI \-p " port"
|
||||||
|
Overrides the default port (6667)
|
||||||
|
.TP
|
||||||
|
.BI \-n " nickname"
|
||||||
|
Override the default nick ($USER)
|
||||||
|
.TP
|
||||||
|
.BI \-k " keyword"
|
||||||
|
Specifies the keyword to authenticate your nick on the server
|
||||||
|
.TP
|
||||||
|
.BI \-f " fullname"
|
||||||
|
Specify the real name (default is $USER)
|
||||||
|
.TP
|
||||||
.BI \-v
|
.BI \-v
|
||||||
Prints version information to standard output, then exits.
|
Prints version information to standard output, then exits.
|
||||||
.SH COMMANDS
|
.SH COMMANDS
|
||||||
|
5
sic.c
5
sic.c
@ -21,8 +21,8 @@ enum { Tnick, Tuser, Tcmd, Tchan, Targ, Ttext, Tlast };
|
|||||||
/* CUSTOMIZE */
|
/* CUSTOMIZE */
|
||||||
static char *server = "irc.oftc.net";
|
static char *server = "irc.oftc.net";
|
||||||
static int port = 6667;
|
static int port = 6667;
|
||||||
static char *nick = "arg";
|
static char *nick = NULL;
|
||||||
static char *fullname = "Anselm R. Garbe";
|
static char *fullname = NULL;
|
||||||
static char *password = NULL;
|
static char *password = NULL;
|
||||||
|
|
||||||
static char bufin[MAXMSG], bufout[MAXMSG];
|
static char bufin[MAXMSG], bufout[MAXMSG];
|
||||||
@ -242,6 +242,7 @@ main(int argc, char *argv[])
|
|||||||
char ping[256];
|
char ping[256];
|
||||||
fd_set rd;
|
fd_set rd;
|
||||||
|
|
||||||
|
nick = fullname = getenv("USER");
|
||||||
for(i = 1; (i < argc) && (argv[i][0] == '-'); i++) {
|
for(i = 1; (i < argc) && (argv[i][0] == '-'); i++) {
|
||||||
switch (argv[i][1]) {
|
switch (argv[i][1]) {
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user