Skip to content

Commit 9665e2e

Browse files
committed
Add Recursive flag
1 parent 8817f8f commit 9665e2e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

include/qCheck.hpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
struct Settings
1111
{
1212
std::vector<std::filesystem::path> InputFiles;
13-
std::size_t Threads = 2;
14-
bool Verbose = true;
15-
bool Check = false;
13+
std::size_t Threads = 2;
14+
bool Verbose = true;
15+
bool Check = false;
16+
bool Recursive = false;
1617
};
1718

1819
extern const char* Usage;

source/main.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ int main(int argc, char* argv[])
4747
CurSettings.Check = true;
4848
break;
4949
}
50+
case 'r':
51+
{
52+
CurSettings.Recursive = true;
53+
break;
54+
}
5055
case 'h':
5156
default:
5257
{

0 commit comments

Comments
 (0)