aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ficsmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/ficsmain.c')
-rw-r--r--FICS/ficsmain.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/FICS/ficsmain.c b/FICS/ficsmain.c
index b246e6a..fceee55 100644
--- a/FICS/ficsmain.c
+++ b/FICS/ficsmain.c
@@ -51,13 +51,16 @@ PUBLIC int withConsole;
void player_array_init(void);
/* for warning */
-PRIVATE void usage(char *progname)
+PRIVATE void
+usage(char *progname)
{
- fprintf(stderr, "Usage: %s [-p port] [-C] [-h]\n", progname);
- fprintf(stderr, "\t\t-p port\t\tSpecify port. (Default=5000)\n");
- fprintf(stderr, "\t\t-C\t\tStart with console player connected to stdin.\n");
- fprintf(stderr, "\t\t-h\t\tDisplay this information.\n");
- exit(1);
+ fprintf(stderr, "Usage: %s [-p port] [-C] [-h]\n", progname);
+ fprintf(stderr, "\t\t-p port\t\tSpecify port. (Default=%d)\n",
+ DEFAULT_PORT);
+ fprintf(stderr, "\t\t-C\t\tStart with console player connected "
+ "to stdin.\n");
+ fprintf(stderr, "\t\t-h\t\tDisplay this information.\n");
+ exit(1);
}
PRIVATE void