aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-11 10:27:17 +0200
committerAdam <adammegarules1@gmail.com>2026-08-11 10:27:17 +0200
commit54b882a31b1b6fb6ca49fd3b6877bac29207ff52 (patch)
treeee3b8725f014f0eb8f5da39bf284c6197bf8642e /src/main.cpp
parent2ea44ddd221433e457d5118d205449d4a289488b (diff)
polishing
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index aa238ce..09cb4d1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -50,7 +50,7 @@ static void perft(int argc, char *argv[]) {
int main(int argc, char *argv[]) {
InitZobrist();
- if (argc != 1) {
+ if (argc == 4) {
perft(argc, argv);
return 0;
}