small fix

This commit is contained in:
arg@10ksloc.org 2006-07-20 10:29:10 +02:00
parent 8e623e9446
commit f615283ce9
2 changed files with 6 additions and 6 deletions

2
sic.1
View File

@ -1,4 +1,4 @@
.TH SIC 1 sic-0.2 .TH SIC 1 sic-0.1
.SH NAME .SH NAME
sic \- simple irc client sic \- simple irc client
.SH SYNOPSIS .SH SYNOPSIS

10
sic.c
View File

@ -250,19 +250,19 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
break; break;
case 's': case 's':
server = argv[i++]; server = argv[++i];
break; break;
case 'p': case 'p':
port = atoi(argv[i++]); port = atoi(argv[++i]);
break; break;
case 'n': case 'n':
nick = argv[i++]; nick = argv[++i];
break; break;
case 'k': case 'k':
password = argv[i++]; password = argv[++i];
break; break;
case 'f': case 'f':
fullname = argv[i++]; fullname = argv[++i];
break; break;
case 'v': case 'v':
fputs("sic-"VERSION", (C)opyright MMVI Anselm R. Garbe\n", stdout); fputs("sic-"VERSION", (C)opyright MMVI Anselm R. Garbe\n", stdout);