{
  "format": "pgn-extract-arguments",
  "format_version": 1,
  "program": "pgn-extract",
  "program_version": "v26-07",
  "description": "Static description of the command-line interface, based on main.c, argsfile.c and argsfile.h. This is not an output mode of the program.",
  "conventions": {
    "names": "Each option has a canonical name and an array of equivalent aliases, including their leading hyphens. Long names are case-insensitive; short names are case-sensitive.",
    "value": "null means no value. Otherwise arity is required or optional, kind identifies the value, and forms specifies how it is passed. Forms are attached (e.g. -ofile) and separate (e.g. -o file or --output file). The forms apply separately to each listed spelling.",
    "repetition": "accumulate adds criteria or input; replace changes a previous setting; idempotent repeats the same setting without adding another; conditional depends on values, order, or other options; error rejects a second occurrence; exit terminates processing. These describe behavior, not an unconditional guarantee: conflicts and invalid values can still cause failure.",
    "parsing": "Long values are separate arguments, not --name=value. Short options are not grouped; for flags, trailing characters are ignored. A separate value for a short option must not begin with a hyphen, while an attached value may. Required long values are consumed even if they look like another option. Numerical parsing generally accepts a numeric prefix, so constraints describe intended values rather than a strict lexical grammar.",
    "argument_files": "-A reads argument files with their own syntax; the forms in this catalog describe command-line arguments. See help.html for argument-file syntax, option interactions, and detailed matching formats.",
    "order": "Options are processed in order and may interact; for example, -S must precede -t or -T. This catalog is not an exhaustive compatibility specification.",
    "conflicts_with": "Optional array of {option, severity, when?}. option is the canonical name of an option that cannot be combined with this one; the relationship is listed on both options. severity is error when the program exits, or warning when it prints a message and continues, ignoring one option or disabling a feature. when, if present, gives the condition under which the conflict applies. Conflicts detected in either order are listed unconditionally; options that conflict only when processed in a particular order say so in when. Conflicts are limited to those detected in argsfile.c and main.c."
  },
  "positionals": [
    {"name": "input-file", "kind": "input-file", "arity": "zero-or-more", "description": "PGN input files, processed in order; standard input is used when no input or check files have been added."}
  ],
  "options": [
    {"name":"-7","aliases":["--seven"],"value":null,"repetition":"idempotent","description":"Output the seven-tag roster, retaining FEN and possibly ECO.","help_id":"-7","conflicts_with":[{"option":"--notags","severity":"error"},{"option":"--xroster","severity":"error"}]},
    {"name":"-#","aliases":[],"value":{"arity":"required","kind":"games-per-file","forms":{"-#":["attached","separate"]},"syntax":"N or N,START","description":"Unsigned games per output file and optional starting file number."},"repetition":"replace","description":"Split output into numbered files; conflicts with -E and -o/-a.","help_id":"separate-output","conflicts_with":[{"option":"-o","severity":"error"},{"option":"-a","severity":"error"},{"option":"-E","severity":"error"}]},
    {"name":"-?","aliases":["-h","--help"],"value":null,"repetition":"exit","description":"Print usage and exit.","help_id":"flag-summary"},
    {"name":"-a","aliases":["--append"],"value":{"arity":"required","kind":"output-file","forms":{"-a":["attached","separate"],"--append":["separate"]}},"repetition":"error","description":"Append matched games to an output file; conflicts with -o, -E and -#.","help_id":"output","conflicts_with":[{"option":"-o","severity":"error"},{"option":"-E","severity":"error"},{"option":"-#","severity":"error"}]},
    {"name":"-A","aliases":[],"value":{"arity":"required","kind":"argument-file","forms":{"-A":["attached","separate"]}},"repetition":"accumulate","description":"Read and process arguments from a file; files can recursively include other argument files.","help_id":"-A"},
    {"name":"-b","aliases":[],"value":{"arity":"required","kind":"move-bound","forms":{"-b":["attached","separate"]},"syntax":"[e|l|u]N","description":"Unsigned N; e or no prefix means equal, l lower bound, u upper bound."},"repetition":"conditional","description":"Set bounds on the number of moves; lower and upper bounds can be specified separately.","help_id":"move-bounds"},
    {"name":"-c","aliases":["--checkfile"],"value":{"arity":"required","kind":"check-file-or-file-list","forms":{"-c":["attached","separate"],"--checkfile":["separate"]},"description":"A .pgn file is a check file; otherwise the file contains a list of check-file names."},"repetition":"accumulate","description":"Add check files for duplicate detection.","help_id":"-c"},
    {"name":"-C","aliases":["--nocomments"],"value":null,"repetition":"idempotent","description":"Exclude comments from output; conflicts with --commented.","help_id":"-C","conflicts_with":[{"option":"--commented","severity":"error"}]},
    {"name":"-d","aliases":["--duplicates"],"value":{"arity":"required","kind":"output-file","forms":{"-d":["attached","separate"],"--duplicates":["separate"]}},"repetition":"replace","description":"Write duplicate games to a file; conflicts with -D.","help_id":"duplicates","conflicts_with":[{"option":"-D","severity":"error"}]},
    {"name":"-D","aliases":["--noduplicates"],"value":null,"repetition":"idempotent","description":"Suppress duplicate games; conflicts with -d.","help_id":"duplicates","conflicts_with":[{"option":"-d","severity":"error"}]},
    {"name":"-e","aliases":[],"value":{"arity":"optional","kind":"eco-file","forms":{"-e":["attached"]},"description":"PGN file of ECO lines; otherwise ECO_FILE or the default eco.pgn is used."},"repetition":"conditional","description":"Perform ECO classification.","help_id":"-e"},
    {"name":"-E","aliases":[],"value":{"arity":"required","kind":"integer","forms":{"-E":["attached","separate"]},"minimum":1,"maximum":10},"repetition":"replace","description":"Split output into files by ECO code depth; conflicts with -# and -o/-a.","help_id":"separate-output","conflicts_with":[{"option":"-o","severity":"error"},{"option":"-a","severity":"error"},{"option":"-#","severity":"error"},{"option":"--json","severity":"warning","when":"JSON output is disabled and games are written in the normal format."}]},
    {"name":"-f","aliases":[],"value":{"arity":"required","kind":"input-file-list","forms":{"-f":["attached","separate"]}},"repetition":"accumulate","description":"Read PGN input filenames, one per line, from a file.","help_id":"-f"},
    {"name":"-F","aliases":[],"value":{"arity":"optional","kind":"fen-comment-pattern","forms":{"-F":["attached"]},"description":"Pattern selecting where FEN comments are emitted; without it, output the final position."},"repetition":"conditional","description":"Output FEN in comments; a pattern conflicts with --fencomments.","help_id":"-F","conflicts_with":[{"option":"--fencomments","severity":"warning","when":"-F is given a pattern; the option processed second is ignored."}]},
    {"name":"-H","aliases":[],"value":{"arity":"required","kind":"polyglot-hash","forms":{"-H":["attached"]},"description":"Hexadecimal Polyglot Zobrist hash, up to 64 bits."},"repetition":"accumulate","description":"Match games reaching a position with this hash.","help_id":"-H"},
    {"name":"-l","aliases":[],"value":{"arity":"required","kind":"output-file","forms":{"-l":["attached","separate"]}},"repetition":"replace","description":"Write diagnostics to a file, overwriting it.","help_id":"logging"},
    {"name":"-L","aliases":[],"value":{"arity":"required","kind":"output-file","forms":{"-L":["attached","separate"]}},"repetition":"replace","description":"Append diagnostics to a file.","help_id":"logging"},
    {"name":"-M","aliases":["--checkmate"],"value":null,"repetition":"idempotent","description":"Match only games ending in checkmate.","help_id":"-M","conflicts_with":[{"option":"--insufficient","severity":"error"},{"option":"--stalemate","severity":"error"}]},
    {"name":"-n","aliases":[],"value":{"arity":"required","kind":"output-file","forms":{"-n":["attached","separate"]},"description":"The special value stdout selects standard output."},"repetition":"replace","description":"Write valid games that do not match to a separate destination.","help_id":"-n"},
    {"name":"-N","aliases":["--nonags"],"value":null,"repetition":"idempotent","description":"Exclude NAGs from output.","help_id":"-N"},
    {"name":"-o","aliases":["--output"],"value":{"arity":"required","kind":"output-file","forms":{"-o":["attached","separate"],"--output":["separate"]}},"repetition":"error","description":"Write matched games to a file, overwriting it; conflicts with -a, -E and -#.","help_id":"output","conflicts_with":[{"option":"-a","severity":"error"},{"option":"-E","severity":"error"},{"option":"-#","severity":"error"}]},
    {"name":"-p","aliases":[],"value":{"arity":"required","kind":"ply-bound","forms":{"-p":["attached","separate"]},"syntax":"[e|l|u]N","description":"Unsigned N; e or no prefix means equal, l lower bound, u upper bound."},"repetition":"conditional","description":"Set bounds on the number of plies; lower and upper bounds can be specified separately.","help_id":"move-bounds"},
    {"name":"-P","aliases":[],"value":null,"repetition":"idempotent","description":"Do not match permutations of textual variations.","help_id":"-P"},
    {"name":"-r","aliases":[],"value":null,"repetition":"idempotent","description":"Report errors without extracting games.","help_id":"-r"},
    {"name":"-R","aliases":[],"value":{"arity":"required","kind":"tag-roster-file","forms":{"-R":["attached","separate"]}},"repetition":"accumulate","description":"Read a file specifying output tag ordering.","help_id":"-R"},
    {"name":"-s","aliases":[],"value":null,"repetition":"replace","description":"Reduce status reporting; unlike --quiet, retain running status.","help_id":"logging"},
    {"name":"-S","aliases":[],"value":null,"repetition":"idempotent","description":"Use soundex for player tag matching; must precede -t or -T.","help_id":"-S"},
    {"name":"-t","aliases":[],"value":{"arity":"required","kind":"tag-criteria-file","forms":{"-t":["attached","separate"]}},"repetition":"accumulate","description":"Read tag extraction criteria from a file.","help_id":"-t"},
    {"name":"-T","aliases":[],"value":{"arity":"required","kind":"tag-criterion","forms":{"-T":["attached"]},"syntax":"TYPEVALUE","description":"TYPE is one of a, b, d, e, f, h, p, r, t, w; the remaining text is the match value."},"repetition":"accumulate","description":"Add a tag extraction criterion.","help_id":"-T"},
    {"name":"-U","aliases":["--nounique"],"value":null,"repetition":"idempotent","description":"Suppress games that occur only once.","help_id":"-U"},
    {"name":"-v","aliases":[],"value":{"arity":"required","kind":"textual-variations-file","forms":{"-v":["attached","separate"]}},"repetition":"accumulate","description":"Read textual variations to match from a file.","help_id":"-v"},
    {"name":"-V","aliases":["--novars"],"value":null,"repetition":"idempotent","description":"Exclude variations from output; conflicts with --splitvariants.","help_id":"suppress","conflicts_with":[{"option":"--splitvariants","severity":"error"}]},
    {"name":"-w","aliases":["--linelength"],"value":{"arity":"required","kind":"unsigned-integer","forms":{"-w":["attached","separate"],"--linelength":["separate"]}},"repetition":"replace","description":"Set the approximate output line width.","help_id":"-w"},
    {"name":"-W","aliases":[],"value":{"arity":"optional","kind":"output-format","forms":{"-W":["attached"]},"choices":["san","SAN","epd","EPD","fen","FEN","lalg","LALG","halg","HALG","elalg","ELALG","xlalg","XLALG","xolalg","XOLALG","xlalgc","XLALGC","xolalgc","XOLALGC","cm","CM","uci"],"description":"No value selects the input format. SAN and enhanced long-algebraic formats may have a piece-letter suffix; format matching is prefix-based."},"repetition":"replace","description":"Select the move output format; the default without -W is SAN.","help_id":"-W","conflicts_with":[{"option":"--json","severity":"warning","when":"The -W format is epd or cm; JSON output is disabled and games are written in the normal format."},{"option":"--commented","severity":"error","when":"-W uci is processed before --commented, because uci output discards comments."},{"option":"--splitvariants","severity":"error","when":"-W uci is processed before --splitvariants, because uci output discards variations."}]},
    {"name":"-x","aliases":[],"value":{"arity":"required","kind":"positional-variations-file","forms":{"-x":["attached","separate"]}},"repetition":"accumulate","description":"Read variations whose resulting positions are to be matched.","help_id":"-x"},
    {"name":"-y","aliases":[],"value":{"arity":"required","kind":"material-file","forms":{"-y":["attached","separate"]}},"repetition":"accumulate","description":"Read colour-specific material balances to match.","help_id":"-z"},
    {"name":"-z","aliases":[],"value":{"arity":"required","kind":"material-file","forms":{"-z":["attached","separate"]}},"repetition":"accumulate","description":"Read material balances to match from either side.","help_id":"-z"},
    {"name":"-Z","aliases":[],"value":null,"repetition":"idempotent","description":"Use virtual.tmp as an external duplicate hash table.","help_id":"duplicates"},

    {"name":"--addelotags","aliases":[],"value":{"arity":"required","kind":"player-ratings-file","forms":{"--addelotags":["separate"]}},"repetition":"accumulate","description":"Read player ratings and add WhiteElo and BlackElo tags.","help_id":"addelotags"},
    {"name":"--addfencastling","aliases":[],"value":null,"repetition":"idempotent","description":"Add potentially missing castling rights to FEN tags.","help_id":"addfencastling"},
    {"name":"--addfideidtags","aliases":[],"value":{"arity":"required","kind":"player-ids-file","forms":{"--addfideidtags":["separate"]}},"repetition":"accumulate","description":"Read player IDs and add WhiteFideID and BlackFideId tags.","help_id":"addfideidtags"},
    {"name":"--addhashcode","aliases":[],"value":null,"repetition":"idempotent","description":"Add a HashCode tag.","help_id":"addhashcode"},
    {"name":"--addlabeltag","aliases":[],"value":null,"repetition":"idempotent","description":"Add a MatchLabel tag for FEN pattern matches.","help_id":"FENPattern-t"},
    {"name":"--addmatchtag","aliases":[],"value":null,"repetition":"idempotent","description":"Add a MaterialMatch tag for material matches.","help_id":"-z"},
    {"name":"--allownullmoves","aliases":[],"value":null,"repetition":"idempotent","description":"Allow null moves in the main line.","help_id":"allownullmoves"},
    {"name":"--btm","aliases":[],"value":null,"repetition":"conditional","description":"Match positions only when Black is to move; conflicts with --wtm.","help_id":"fen-t","conflicts_with":[{"option":"--wtm","severity":"error"}]},
    {"name":"--commented","aliases":[],"value":null,"repetition":"idempotent","description":"Match only games containing comments; conflicts with -C.","help_id":"commented","conflicts_with":[{"option":"-C","severity":"error"},{"option":"-W","severity":"error","when":"-W uci is processed before --commented, because uci output discards comments."}]},
    {"name":"--commentlines","aliases":[],"value":null,"repetition":"idempotent","description":"Output each comment on a separate line.","help_id":"commentlines"},
    {"name":"--deletesamesetup","aliases":[],"value":null,"repetition":"idempotent","description":"Suppress games with a previously processed initial position.","help_id":"duplicates"},
    {"name":"--detag","aliases":[],"value":{"arity":"required","kind":"tag-name","forms":{"--detag":["separate"]}},"repetition":"accumulate","description":"Exclude a named tag from output.","help_id":"detag"},
    {"name":"--dropbefore","aliases":[],"value":{"arity":"required","kind":"comment-pattern","forms":{"--dropbefore":["separate"]}},"repetition":"replace","description":"Drop opening plies before a matching comment.","help_id":"dropbefore"},
    {"name":"--dropply","aliases":[],"value":{"arity":"required","kind":"integer","forms":{"--dropply":["separate"]}},"repetition":"replace","description":"Drop the specified number of opening plies.","help_id":"dropply"},
    {"name":"--evaluation","aliases":[],"value":null,"repetition":"idempotent","description":"Output an evaluation after each move.","help_id":"evaluation"},
    {"name":"--fencommentformat","aliases":[],"value":{"arity":"required","kind":"format-string","forms":{"--fencommentformat":["separate"]},"description":"Format string containing %s for the FEN."},"repetition":"replace","description":"Set the format used for FEN comments.","help_id":"fencommentformat"},
    {"name":"--fencomments","aliases":[],"value":null,"repetition":"idempotent","description":"Output a FEN comment after each move; conflicts with an -F pattern.","help_id":"fencomments","conflicts_with":[{"option":"-F","severity":"warning","when":"-F is given a pattern; the option processed second is ignored."}]},
    {"name":"--fenpattern","aliases":[],"value":{"arity":"required","kind":"fen-pattern","forms":{"--fenpattern":["separate"]}},"repetition":"accumulate","description":"Match positions against a FEN pattern.","help_id":"fenpattern"},
    {"name":"--fenpatterni","aliases":[],"value":{"arity":"required","kind":"fen-pattern","forms":{"--fenpatterni":["separate"]}},"repetition":"accumulate","description":"Match a FEN pattern from either side.","help_id":"fenpattern"},
    {"name":"--fifty","aliases":["--50"],"value":null,"repetition":"idempotent","description":"Match games containing fifty moves without a pawn move or capture; conflicts with --seventyfive.","help_id":"fifty","conflicts_with":[{"option":"--seventyfive","severity":"error"}]},
    {"name":"--firstgame","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--firstgame":["separate"]},"minimum":1},"repetition":"replace","description":"Start matching at this input game number; default 1.","help_id":"firstgame","conflicts_with":[{"option":"--gamelimit","severity":"error","when":"The --firstgame number is greater than the --gamelimit number, in either order."}]},
    {"name":"--fixresulttags","aliases":[],"value":null,"repetition":"idempotent","description":"Correct Result tags conflicting with the game outcome or terminating result.","help_id":"fixresulttags"},
    {"name":"--fixtagstrings","aliases":[],"value":null,"repetition":"idempotent","description":"Attempt to correct improperly terminated tag strings.","help_id":"fixtagstrings"},
    {"name":"--fuzzydepth","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--fuzzydepth":["separate"]}},"repetition":"replace","description":"Enable positional duplicate matching at the specified ply depth.","help_id":"fuzzydepth"},
    {"name":"--gamelimit","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--gamelimit":["separate"]}},"repetition":"replace","description":"Process up to and including this input game number; it must be at least --firstgame.","help_id":"gamelimit","conflicts_with":[{"option":"--firstgame","severity":"error","when":"The --firstgame number is greater than the --gamelimit number, in either order."}]},
    {"name":"--hashcomments","aliases":[],"value":null,"repetition":"idempotent","description":"Output a hash comment after each move.","help_id":"hashcomments"},
    {"name":"--higherratedwinner","aliases":[],"value":null,"repetition":"idempotent","description":"Match only games where the winner is higher rated; conflicts with --lowerratedwinner.","help_id":"rating-difference","conflicts_with":[{"option":"--lowerratedwinner","severity":"error"}]},
    {"name":"--insufficient","aliases":[],"value":null,"repetition":"idempotent","description":"Match games ending with insufficient mating material; conflicts with checkmate and stalemate filters.","help_id":"insufficient","conflicts_with":[{"option":"-M","severity":"error"},{"option":"--stalemate","severity":"error"}]},
    {"name":"--json","aliases":[],"value":null,"repetition":"idempotent","description":"Output games in JSON format, not a description of options.","conflicts_with":[{"option":"-E","severity":"warning","when":"JSON output is disabled and games are written in the normal format."},{"option":"-W","severity":"warning","when":"The -W format is epd or cm; JSON output is disabled and games are written in the normal format."}],"help_id":"json"},
    {"name":"--keepbroken","aliases":[],"value":null,"repetition":"idempotent","description":"Retain games containing errors.","help_id":"keepbroken"},
    {"name":"--lichesscommentfix","aliases":[],"value":null,"repetition":"idempotent","description":"Move comments from the beginning of a variation to after its first move.","help_id":"lichess"},
    {"name":"--linenumbers","aliases":[],"value":{"arity":"required","kind":"marker","forms":{"--linenumbers":["separate"]}},"repetition":"replace","description":"Include a comment containing the marker and source line numbers.","help_id":"linenumbers"},
    {"name":"--lowerratedwinner","aliases":[],"value":null,"repetition":"idempotent","description":"Match only games where the winner is lower rated; conflicts with --higherratedwinner.","help_id":"rating-difference","conflicts_with":[{"option":"--higherratedwinner","severity":"error"}]},
    {"name":"--markmatches","aliases":[],"value":{"arity":"required","kind":"comment","forms":{"--markmatches":["separate"]}},"repetition":"replace","description":"Mark matched positions with the supplied comment.","help_id":"markmatches"},
    {"name":"--matchplylimit","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--matchplylimit":["separate"]},"minimum":1},"repetition":"conditional","description":"Set the maximum ply depth for positional searches; cannot decrease an existing limit.","help_id":"matchplylimit"},
    {"name":"--materialy","aliases":[],"value":{"arity":"required","kind":"material-pattern","forms":{"--materialy":["separate"]}},"repetition":"accumulate","description":"Add a colour-specific material balance criterion.","help_id":"-z"},
    {"name":"--materialz","aliases":[],"value":{"arity":"required","kind":"material-pattern","forms":{"--materialz":["separate"]}},"repetition":"accumulate","description":"Add a material balance criterion matching either side.","help_id":"-z"},
    {"name":"--maxmoves","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--maxmoves":["separate"]}},"repetition":"conditional","description":"Set an upper bound on the number of moves.","help_id":"move-bounds"},
    {"name":"--maxply","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--maxply":["separate"]}},"repetition":"conditional","description":"Set an upper bound on the number of plies.","help_id":"move-bounds"},
    {"name":"--minmoves","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--minmoves":["separate"]}},"repetition":"conditional","description":"Set a lower bound on the number of moves.","help_id":"move-bounds"},
    {"name":"--minply","aliases":[],"value":{"arity":"required","kind":"unsigned-integer","forms":{"--minply":["separate"]}},"repetition":"conditional","description":"Set a lower bound on the number of plies.","help_id":"move-bounds"},
    {"name":"--nestedcomments","aliases":[],"value":null,"repetition":"idempotent","description":"Allow nested comments.","help_id":"nestedcomments"},
    {"name":"--nobadresults","aliases":[],"value":null,"repetition":"idempotent","description":"Reject games with inconsistent result indications.","help_id":"nobadresults"},
    {"name":"--nochecks","aliases":[],"value":null,"repetition":"idempotent","description":"Do not output check or checkmate symbols after moves.","help_id":"nochecks"},
    {"name":"--nofauxep","aliases":[],"value":null,"repetition":"idempotent","description":"Suppress en passant squares in FEN when the capture is not possible.","help_id":"nofauxep"},
    {"name":"--nomovenumbers","aliases":[],"value":null,"repetition":"idempotent","description":"Do not output move numbers.","help_id":"nomovenumbers"},
    {"name":"--noresults","aliases":[],"value":null,"repetition":"idempotent","description":"Do not output results.","help_id":"noresults"},
    {"name":"--nosetuptags","aliases":[],"value":null,"repetition":"error","description":"Exclude games with a SetUp tag; conflicts with --onlysetuptags.","help_id":"setup-tags","conflicts_with":[{"option":"--onlysetuptags","severity":"error"}]},
    {"name":"--notags","aliases":[],"value":null,"repetition":"idempotent","description":"Do not output tags; conflicts with other roster settings.","help_id":"notags","conflicts_with":[{"option":"-7","severity":"error"}]},
    {"name":"--odds","aliases":[],"value":null,"repetition":"idempotent","description":"Match only games played at odds.","help_id":"odds"},
    {"name":"--onlysetuptags","aliases":[],"value":null,"repetition":"error","description":"Match only games with a SetUp tag; conflicts with --nosetuptags.","help_id":"setup-tags","conflicts_with":[{"option":"--nosetuptags","severity":"error"}]},
    {"name":"--piececount","aliases":[],"value":{"arity":"required","kind":"integer","forms":{"--piececount":["separate"]},"minimum":2},"repetition":"replace","description":"Match positions containing the specified number of pieces, including kings.","help_id":"-z"},
    {"name":"--plycount","aliases":[],"value":null,"repetition":"idempotent","description":"Add a PlyCount tag.","help_id":"plycount"},
    {"name":"--plylimit","aliases":[],"value":{"arity":"required","kind":"integer","forms":{"--plylimit":["separate"]},"minimum":0},"repetition":"replace","description":"Limit the number of plies output.","help_id":"plylimit"},
    {"name":"--quiescent","aliases":[],"value":{"arity":"required","kind":"integer","forms":{"--quiescent":["separate"]},"minimum":0},"repetition":"replace","description":"Set position quiescence length; default 0.","help_id":"quiescent"},
    {"name":"--quiet","aliases":[],"value":null,"repetition":"replace","description":"Suppress status processing output.","help_id":"logging"},
    {"name":"--repetition","aliases":[],"value":null,"repetition":"idempotent","description":"Match games containing threefold repetition; conflicts with --repetition5.","help_id":"repetition","conflicts_with":[{"option":"--repetition5","severity":"error"}]},
    {"name":"--repetition5","aliases":[],"value":null,"repetition":"idempotent","description":"Match games containing fivefold repetition; conflicts with --repetition.","help_id":"repetition","conflicts_with":[{"option":"--repetition","severity":"error"}]},
    {"name":"--selectonly","aliases":[],"value":{"arity":"required","kind":"game-number-ranges","forms":{"--selectonly":["separate"]},"syntax":"N or N:N, separated by commas","description":"Positive, strictly ascending, non-overlapping matched-game numbers and inclusive ranges."},"repetition":"replace","description":"Output only the selected matched games.","help_id":"selectonly"},
    {"name":"--seventyfive","aliases":["--75"],"value":null,"repetition":"idempotent","description":"Match games containing seventy-five moves without a pawn move or capture; conflicts with --fifty.","help_id":"fifty","conflicts_with":[{"option":"--fifty","severity":"error"}]},
    {"name":"--skipmatching","aliases":[],"value":{"arity":"required","kind":"game-number-ranges","forms":{"--skipmatching":["separate"]},"syntax":"N or N:N, separated by commas","description":"Positive, strictly ascending, non-overlapping matched-game numbers and inclusive ranges."},"repetition":"replace","description":"Skip the selected matched games.","help_id":"skipmatching"},
    {"name":"--splitvariants","aliases":[],"value":{"arity":"optional","kind":"unsigned-integer","forms":{"--splitvariants":["separate"]},"description":"Variation depth; zero or omission means all depths. A following token is consumed only if it begins with a number."},"repetition":"conditional","description":"Output variations as separate games; conflicts with -V.","help_id":"splitvariants","conflicts_with":[{"option":"-V","severity":"error"},{"option":"-W","severity":"error","when":"-W uci is processed before --splitvariants, because uci output discards variations."}]},
    {"name":"--stalemate","aliases":[],"value":null,"repetition":"idempotent","description":"Match games ending in stalemate; conflicts with checkmate and insufficient-material filters.","help_id":"stalemate","conflicts_with":[{"option":"-M","severity":"error"},{"option":"--insufficient","severity":"error"}]},
    {"name":"--startply","aliases":[],"value":{"arity":"required","kind":"integer","forms":{"--startply":["separate"]},"minimum":1},"repetition":"replace","description":"Start positional matching after this ply.","help_id":"startply"},
    {"name":"--stopafter","aliases":[],"value":{"arity":"required","kind":"integer","forms":{"--stopafter":["separate"]},"minimum":1},"repetition":"replace","description":"Stop after this many matched games.","help_id":"stopafter"},
    {"name":"--summary","aliases":[],"value":null,"repetition":"idempotent","description":"Report the number of matched games on exit.","help_id":"logging"},
    {"name":"--suppressmatched","aliases":[],"value":null,"repetition":"idempotent","description":"Do not output matched games.","help_id":"-n"},
    {"name":"--tagsubstr","aliases":[],"value":null,"repetition":"idempotent","description":"Match criteria anywhere within tag values.","help_id":"tagsubstr"},
    {"name":"--totalplycount","aliases":[],"value":null,"repetition":"idempotent","description":"Add a tag with the total number of plies.","help_id":"totalplycount"},
    {"name":"--underpromotion","aliases":[],"value":null,"repetition":"idempotent","description":"Match games containing an underpromotion.","help_id":"underpromotion"},
    {"name":"--vanywhere","aliases":[],"value":null,"repetition":"idempotent","description":"Apply textual variation matching throughout the game.","help_id":"-v"},
    {"name":"--version","aliases":[],"value":null,"repetition":"exit","description":"Print the program version and exit.","help_id":"version"},
    {"name":"--wtm","aliases":[],"value":null,"repetition":"conditional","description":"Match positions only when White is to move; conflicts with --btm.","help_id":"fen-t","conflicts_with":[{"option":"--btm","severity":"error"}]},
    {"name":"--xroster","aliases":[],"value":null,"repetition":"idempotent","description":"Exclude tags not included in the -R roster; conflicts with -7.","help_id":"xroster","conflicts_with":[{"option":"-7","severity":"error"}]}
  ]
}
