From 8069963c56df0c0bb9fc785fe9d688f19f11c706 Mon Sep 17 00:00:00 2001 From: Tomasz Sobczyk Date: Wed, 4 Nov 2020 20:23:36 +0100 Subject: [PATCH] Update convert docs. --- docs/convert.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/convert.md b/docs/convert.md index 2e07ec52..132f66e0 100644 --- a/docs/convert.md +++ b/docs/convert.md @@ -6,10 +6,13 @@ As all commands in stockfish `convert` can be invoked either from command line ( The syntax of this command is as follows: ``` -convert from_path to_path [append] +convert from_path to_path [append] [validate] ``` `from_path` is the path to the file to convert from. The type of the data is deduced based on its extension (one of `.plain`, `.bin`, `.binpack`). `to_path` is the path to an output file. The type of the data is deduced from its extension. If the file does not exist it is created. -The last argument is optional. If not specified then the output file will be truncated prior to any writes. If the last argument is `append` then the converted training data will be appended to the end of the output file. \ No newline at end of file +`append` and `validate` can come in any order and are optional. +If `append` not specified then the output file will be truncated prior to any writes. If `append` is specified then the converted training data will be appended to the end of the output file. + +If `validate` is specified then the conversion will stop on the first illegal move found and a diagnostic will be shown. \ No newline at end of file