cgrep 6.5.0 → 6.5.1
raw patch · 4 files changed
+12/−5 lines, 4 files
Files
- README.md +9/−2
- cgrep.cabal +1/−1
- src/CmdOptions.hs +1/−1
- src/Config.hs +1/−1
README.md view
@@ -4,7 +4,7 @@ Usage ----- -Cgrep 6.5.0 Usage: cgrep [OPTION] [PATTERN] files...+Cgrep 6.5.1 Usage: cgrep [OPTION] [PATTERN] files... cgrep [OPTIONS] [ITEM] @@ -50,7 +50,6 @@ --lang=ITEM specify languages. ie: Cpp, +Haskell, -Makefile --lang-maps lists the language mappings --force-language=ITEM force the language- -j --jobs=INT number of jobs --multiline=INT enable multi-line matching -r --recursive Enable recursive search (don't follow symlinks) -R --deference-recursive Recursive, follow symlinks@@ -64,10 +63,18 @@ --json format output as json object --xml format output as xml document +Concurrency:++ -j --jobs=INT Number of jobs+ --cores=INT Set number of physical processor used+ --chunk=INT Set per-job chunk length+ -a --asynch Process chunk of files asynchronously+ Miscellaneous: -d --debug=INT debug level: 1, 2 or 3 -n --no-turbo disable turbo mode -? --help Display help message -V --version Print version information+
cgrep.cabal view
@@ -1,6 +1,6 @@ Name: cgrep Description: Cgrep: a context-aware grep for source codes-Version: 6.5.0+Version: 6.5.1 Synopsis: Command line tool Homepage: http://awgn.github.io/cgrep/ License: GPL-2
src/CmdOptions.hs view
@@ -63,7 +63,7 @@ #endif , json = False &= help "Format output as json object" &= explicit &= name "json" , xml = False &= help "Format output as xml document" &= explicit &= name "xml"- , jobs = 1 &= groupname "\nParallel" &= help "Number of jobs"+ , jobs = 1 &= groupname "\nConcurrency" &= help "Number of jobs" , cores = 0 &= help "Set number of physical processor used" , chunk = 16 &= help "Set per-job chunk length" , asynch = False &= help "Process chunk of files asynchronously"
src/Config.hs view
@@ -31,7 +31,7 @@ cgreprc = "cgreprc" version :: String-version = "6.5.0"+version = "6.5.1" data Config = Config