diff --git a/docs/readme.md b/docs/readme.md index 06b4bd8..4723ef0 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -32,22 +32,14 @@ fnl --remove file.txt ### Multiple files -Show status: +You can supply a list of files using `find` or `rg`: ```shell -find . -type f -name "*.txt" | xargs fnl +find . -type f | xargs fnl ``` -Add final newlines: - ```shell -find . -type f -name "*.txt" | xargs fnl --add -``` - -Remove final newlines: - -```shell -find . -type f -name "*.txt" | xargs fnl --remove +rg --files | xargs fnl ``` ## License