From 7d2caa3f2d0c772ba5ad12d20deb1ed74e15889d Mon Sep 17 00:00:00 2001 From: Joshua Clayton Date: Thu, 12 May 2016 06:37:44 -0400 Subject: [PATCH] Outline the recommended way of using Unused --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 4c06c45..105a262 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,7 @@ your `$PATH`. `unused` reads from a pipe expecting a series of tokens to search the codebase for. -This could be done with `echo`: - -```sh -echo "module\nimport" | unused -``` - -Or pulling in a ctags file: +The recommended way to do this is to clean up your tags file and pipe it in: ```sh cat .git/tags | cut -f1 | sort -u | unused