diff options
author | bloodstalker <thabogre@gmail.com> | 2018-11-12 15:29:15 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-11-12 15:29:15 +0000 |
commit | 18d3f593f55e60af96b3083999aee62842ef5f6d (patch) | |
tree | 2c26e63e506bddc103bae437a8290a5fd7f156e1 /README.md | |
parent | update (diff) | |
download | cgrep-18d3f593f55e60af96b3083999aee62842ef5f6d.tar.gz cgrep-18d3f593f55e60af96b3083999aee62842ef5f6d.zip |
update
Diffstat (limited to '')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,9 @@ A simple usage example:<br/> cgrep --func --var --regex n[aA]m ./cgrep.cpp ``` Pleade do note that the regex will pass through both C++ and the regex engine, so if you would want to escape `\`, the regex you pass as the commandline arg would be `\\\\` instead of the normal `\\`.<br/> +In order for cgrep to work, you need to have a compilation database, tools like cmake can generate one for you.<br/> +If your build tool doesn't do that, you can just use [bear](https://github.com/rizsotto/Bear).<br/> +You can also skipp the compilation database alltogether passing cgrep `--` after the input file name.<br/> ## Options Here's an option list though it might not be necessarily up-to-date.<br/> |