# HG changeset patch # User Mike Becker # Date 1774699025 -3600 # Node ID 58b788fd10a71197886c6eb23b6d36667dfa057d # Parent e4a648fe6ce75eba19133c4ea56d5cafcebe2c26 remove separate analyzepgn option analyzing games will be post-game feature, so using -c with a finished game is enough relates to #813 diff -r e4a648fe6ce7 -r 58b788fd10a7 src/game.h --- a/src/game.h Fri Mar 27 18:30:25 2026 +0100 +++ b/src/game.h Sat Mar 28 12:57:05 2026 +0100 @@ -42,7 +42,6 @@ char* port; char* serverhost; /* NULL, if we are about to start a server */ char* continuepgn; - char* analyzepgn; bool singlemachine; bool unicode; } Settings; diff -r e4a648fe6ce7 -r 58b788fd10a7 src/main.c --- a/src/main.c Fri Mar 27 18:30:25 2026 +0100 +++ b/src/main.c Sat Mar 28 12:57:05 2026 +0100 @@ -58,9 +58,6 @@ case 's': settings->singlemachine = 1; break; - case 'S': - settings->analyzepgn = optarg; - break; case 'U': settings->unicode = 0; break; @@ -142,10 +139,6 @@ fprintf(stderr, "Can't continue a game when joining a server.\n"); return 1; } - if (settings->analyzepgn) { - fprintf(stderr, "The options -c and -S are mutually exclusive\n"); - return 1; - } } return 0; @@ -185,9 +178,6 @@ if (settings.singlemachine) { game_play_singlemachine(&settings); exitcode = EXIT_SUCCESS; - } else if (settings.analyzepgn) { - printw("Not implemented yet.\n"); - exitcode = EXIT_SUCCESS; } else { exitcode = is_server(&settings) ? server_run(&settings) : client_run(&settings);