Commit 84fa6f0e authored by aytang's avatar aytang
Browse files

adjusted output for when no matches for radical expression are found

parent fd5bbe3b
......@@ -332,7 +332,7 @@ For inputs with more than one test files, filepaths are automatically shown. You
## Example 7: Runtime of the search
The `-clk` flag can be toggled to measure the runtime of a search. It returns the in seconds.
The `-clk` flag can be toggled to measure the runtime of a search. It returns the time taken in seconds.
Input: -clk -c auto 水_子_ ../../QA/radicaltest/testfiles/*
......
......@@ -109,7 +109,7 @@ int main(int argc, char* argv[])
const bool matchFound=grep->searchAllFiles(); //Return if there have found any result, if yes, return true, else return false
//if there does not exist any results
if(!matchFound) cout<<"Can not find the results!"<<endl;
if (!matchFound) cout << "No matches are found for " << input_radical << endl;
if(CLKCountingFlag)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment