lizmat / App-Rak

21st century grep / find / ack / ag / rg on steroids
Artistic License 2.0
152 stars 7 forks source link

--files-with-matches replaced by verbose? #8

Closed melezhik closed 1 year ago

melezhik commented 2 years ago

Hi! The changes file says that files-with-matches is replaced by verbose, however, I do see that the documentation has --files-with-matches reference, anyway this is what my test shows:

report

lizmat commented 1 year ago

Is this still an issue?

melezhik commented 1 year ago

let me check

melezhik commented 1 year ago

looks good now:

$ tomty  --color --dump-task rak-count-only 
13:20:54 :: [repository] - index updated from http://sparrowhub.io/repo/api/v1/index
[task run: task.bash - .tomty/tasks/rak-count-only]
[dump code: task.bash]
[1] set -e
[2] 
[3] cd $cache_dir
[4] 
[5] rak --version
[6] 
[7] echo foo > file.txt
[8] echo foo > file2.txt
[9] echo foo >> file2.txt
[10] echo foo > file3.txt
[11] 
[12] rak foo --count-only
[13] 
[14] rak foo --files-with-matches --count-only
[15] 
[16] 
[task stdout]
13:20:54 :: rak - provided by App::Rak 0.0.98, running Raku 6.d with Rakudo 2022.07.
13:20:55 :: 4 matches in 3 files
13:20:55 :: 3 files with matches
[task check]
stdout match (s) <4 matches in 3 files> True
stdout match (s) <3 files with matches> True