-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main.c: Add [-hmd] [-e ENGINE] flags
Remove the previous "match" argument. Instead, the added -m now signifies "match" ("search" is the default). Fix run-tests accordingly. The -d flag exists only when compiling with -DDEBUG. The debug messages don't appear unless -d is used. This is convenient when debugging, and it also allows run-tests to use a binary compiled with -DDEBUG (else the debug messages confuse it). The intention of -e ENGINE is to ease the debug/development of a specific engine. It is especially handy with the -t flag (trace VM commands) that is to be introduced next.
- Loading branch information
Showing
2 changed files
with
72 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters