weggli icon indicating copy to clipboard operation
weggli copied to clipboard

Multiple PATH arguments, truncation fix, fmt, clippy

Open totph opened this issue 1 year ago • 0 comments

One bugfix when printing results, add support to search in more than one PATH, bring the README up to date, plus smaller fixups:


Fix result truncation being off by one

The final '}' in a block was truncated when no line numbers were used.


Accept multiple PATH arguments

Reading from stdin / '-' can be one of them.

Plus when searching in '.' avoid the middle dot like '/path/./src/foo.c' when converting to an absolute path.

Update README.md with new --help output and fix trailing whitespace.


Fix alignment of -h/--help output


Fix clippy warnings and a typo


Run cargo fmt


totph avatar Feb 06 '24 19:02 totph