" -h, --help\t\tPrint this usage information\n"
" -H, --info\t\tShow distribution and warranty information\n"
"\n"
- " -p, --port <port>\tSet port number (default is %d)\n"
+ " -p, --port %d\tSet port number\n"
"\n"
" -s, --seed <seed>\tStart with given random seed\n"
- " -i, --speed <sec>\tSet the initial step-down interval, in seconds\n"
- " -m, --min-players <2>\tNumber of players required before starting the game\n"
- " -x, --max-players <8>\tMaximum number of players allowed in the game\n"
+ " -i, --speed %.2f\tSet the initial step-down interval, in seconds\n"
+ " -m, --min-players %d\tNumber of players required before starting the game\n"
+ " -x, --max-players %d\tMaximum number of players allowed in the game\n"
" -c, --continuous\tDon'n quit the game\n"
- "\n", DEFAULT_PORT);
+ "\n",
+ DEFAULT_PORT, DEFAULT_INTERVAL/1e6, minplayers, maxplayers
+ );
}
void WriteConf(void)