From 5ce5787e27a2a11746358f866b9807d596a2e822 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 20 Jun 2025 15:06:16 +0200 Subject: [PATCH] Updated documentation --- docs/readme.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) 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