add --room to error message/hint

This commit is contained in:
Eric House 2017-10-25 06:43:10 -07:00
parent 81df91c4db
commit 14d9063ad0

View file

@ -2658,8 +2658,8 @@ main( int argc, char** argv )
if ( mainParams.useCurses ) { if ( mainParams.useCurses ) {
if ( mainParams.needsNewGame ) { if ( mainParams.needsNewGame ) {
/* curses doesn't have newgame dialog */ /* curses doesn't have newgame dialog */
usage( argv[0], "game params required for curses version, e.g. --name Eric " usage( argv[0], "game params required for curses version, e.g. --name Eric --room MyRoom"
"--remote-player --dict-dir ../ --game-dict dict.xwd"); " --remote-player --dict-dir ../ --game-dict dict.xwd");
} else { } else {
#if defined PLATFORM_NCURSES #if defined PLATFORM_NCURSES
cursesmain( isServer, &mainParams ); cursesmain( isServer, &mainParams );