1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Allow --run-tests to take a file argument

This commit is contained in:
Nicolas Williams
2013-06-15 01:55:47 -05:00
parent 3f86e97f70
commit 0ed6347d47
2 changed files with 10 additions and 2 deletions

2
main.c
View File

@@ -130,7 +130,7 @@ int main(int argc, char* argv[]) {
if (argc) progname = argv[0];
if (argc > 1 && !strcmp(argv[1], "--run-tests")) {
return jq_testsuite(argc - 1, argv + 1);
return jq_testsuite(argc, argv);
}
jq = jq_init();