]> git.sesse.net Git - stockfish/commit
Add command line flags to link to information
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 20 May 2022 05:42:33 +0000 (07:42 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 29 May 2022 16:46:35 +0000 (18:46 +0200)
commit48df0754bc87f099c4b29ff1b2f2629ddacd1c95
tree544bee94bddb59f8e92ef3a4fec684dd419c8dda
parentf7d1491b3df28bf10faac81e340cb6a22fc5b57b
Add command line flags to link to information

This patch provides command line flags `--help` and `--license` as well as the corresponding `help` and `license` commands.

```
$ ./stockfish --help
Stockfish 200522 by the Stockfish developers (see AUTHORS file)

Stockfish is a powerful chess engine and free software licensed under the GNU GPLv3.
Stockfish is normally used with a separate graphical user interface (GUI).
Stockfish implements the universal chess interface (UCI) to exchange information.
For further information see https://github.com/official-stockfish/Stockfish#readme
or the corresponding README.md and Copying.txt files distributed with this program.

```

The idea is to provide a minimal help that links to the README.md file,
not replicating information that is already available elsewhere.

We use this opportunity to explicitly report the license as well.

closes https://github.com/official-stockfish/Stockfish/pull/4027

No functional change.
src/uci.cpp