diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index fd95755..5be1194 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -22,13 +22,13 @@ void PrintMoves(const std::vector<Move> &moves) { } } int main(int argc, char **argv) { - printf("arg count: %d", argc); std::string startingFen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"; if (argc < 1 || argc > 2) { - printf("wrong arg count, use: ./chess [optinal starting fen]"); + printf("wrong arg count, use: ./chess [optinal starting fen]\n"); return 1; } + printf("arg count: %d\n", argc); if (argc == 2) { startingFen = argv[1]; } |
