From 5680d284a3b42e3437a23b7d452c2fad8fa02efa Mon Sep 17 00:00:00 2001 From: Peter Coles Date: Sun, 28 Mar 2021 18:28:10 -0400 Subject: [PATCH] updated help info for cli --- bin/cli.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/cli.js b/bin/cli.js index 8faa35d..45d4c54 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -19,10 +19,12 @@ function help() { console.error(` Bookmarklet v${bookmarklet.version.join('.')} -usage: bookmarklet source [destination] +Usage: bookmarklet [options] source [destination] + source path to file to read from or - for stdin', + destination path to file to write to - source - path to file to read from or for stdin', - destination - path to file to write to +Options: + -d, --demo generate a demo HTML page More info: https://github.com/mrcoles/bookmarklet `);