mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-19 03:55:49 +00:00
Show doctest help if requested.
This commit is contained in:
parent
35c407b2ac
commit
886f6f4a2c
@ -433,6 +433,8 @@ int main(int argc, char** argv) {
|
||||
|
||||
if (HasOption(options, "-h") || HasOption(options, "--help")) {
|
||||
PrintHelp();
|
||||
// Also emit doctest help if --test-unit is passed.
|
||||
if (!HasOption(options, "--test-unit"))
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user