fix long-opts glitches

This commit is contained in:
Eric House 2010-12-21 20:51:21 -08:00
parent a7aabdc41b
commit 9ea5c7462d

View file

@ -272,7 +272,7 @@ static CmdInfoRec CmdInfoRecs[] = {
,{ CMD_ROBOTNAME, true, "robot-name", "name of local, robot player" } ,{ CMD_ROBOTNAME, true, "robot-name", "name of local, robot player" }
,{ CMD_SORTNEW, false, "sort-tiles", "sort tiles each time assigned" } ,{ CMD_SORTNEW, false, "sort-tiles", "sort tiles each time assigned" }
,{ CMD_ISSERVER, false, "server", "this device acting as host" } ,{ CMD_ISSERVER, false, "server", "this device acting as host" }
,{ CMD_SLEEPONANCHOR, false, "slow-robot", "slow down hint progress" } ,{ CMD_SLEEPONANCHOR, false, "sleep-on-anchor", "slow down hint progress" }
,{ CMD_TIMERMINUTES, true, "timer-minutes", "initial timer setting" } ,{ CMD_TIMERMINUTES, true, "timer-minutes", "initial timer setting" }
,{ CMD_UNDOWHENDONE, false, "undo-after", "undo the game after finishing" } ,{ CMD_UNDOWHENDONE, false, "undo-after", "undo the game after finishing" }
,{ CMD_NOHEARTBEAT, false, "no-heartbeat", "don't send heartbeats" } ,{ CMD_NOHEARTBEAT, false, "no-heartbeat", "don't send heartbeats" }
@ -298,7 +298,7 @@ static CmdInfoRec CmdInfoRecs[] = {
,{ CMD_BTADDR, true, "btaddr", "bluetooth address of host" } ,{ CMD_BTADDR, true, "btaddr", "bluetooth address of host" }
#endif #endif
#ifdef XWFEATURE_SLOW_ROBOT #ifdef XWFEATURE_SLOW_ROBOT
,{ CMD_SLOWROBOT, false, "slow-robot", "make robot slower" } ,{ CMD_SLOWROBOT, true, "slow-robot", "make robot slower" }
#endif #endif
#if defined PLATFORM_GTK && defined PLATFORM_NCURSES #if defined PLATFORM_GTK && defined PLATFORM_NCURSES
,{ CMD_GTK, false, "gtk", "use GTK for display" } ,{ CMD_GTK, false, "gtk", "use GTK for display" }