small fix
This commit is contained in:
parent
8e623e9446
commit
f615283ce9
2
sic.1
2
sic.1
@ -1,4 +1,4 @@
|
||||
.TH SIC 1 sic-0.2
|
||||
.TH SIC 1 sic-0.1
|
||||
.SH NAME
|
||||
sic \- simple irc client
|
||||
.SH SYNOPSIS
|
||||
|
10
sic.c
10
sic.c
@ -250,19 +250,19 @@ main(int argc, char *argv[])
|
||||
exit(EXIT_FAILURE);
|
||||
break;
|
||||
case 's':
|
||||
server = argv[i++];
|
||||
server = argv[++i];
|
||||
break;
|
||||
case 'p':
|
||||
port = atoi(argv[i++]);
|
||||
port = atoi(argv[++i]);
|
||||
break;
|
||||
case 'n':
|
||||
nick = argv[i++];
|
||||
nick = argv[++i];
|
||||
break;
|
||||
case 'k':
|
||||
password = argv[i++];
|
||||
password = argv[++i];
|
||||
break;
|
||||
case 'f':
|
||||
fullname = argv[i++];
|
||||
fullname = argv[++i];
|
||||
break;
|
||||
case 'v':
|
||||
fputs("sic-"VERSION", (C)opyright MMVI Anselm R. Garbe\n", stdout);
|
||||
|
Loading…
Reference in New Issue
Block a user