From f50c226854a9d4cfe6356bb24c09f369372e54aa Mon Sep 17 00:00:00 2001 From: chee Date: Thu, 21 Feb 2019 01:13:50 +0000 Subject: [PATCH] update readme to mention the new file change --- readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index ae8111f..c2f7397 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,11 @@ $ lockspot depcount < package.json ##### --file=\ the package-lock.json to operate on. -you can use `-` or leave this blank to accept input on STDIN +it tries to do the right thing if you leave this blank: +• if you're piping something in on `STDIN`, it'll use that +• if there's a package-lock in the dir, it'll use that +• fall back to `STDIN` +you can use `-` to force consuming `STDIN` #### --min=\ only print dependencies that have more than this number of versions.