From 85991e3e2a8254c9c55b6972051560f6f446b01b Mon Sep 17 00:00:00 2001 From: Lete Date: Tue, 3 May 2022 18:47:02 +0800 Subject: [PATCH] fix: CLI help examples (#361) --- bin/nanoid.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nanoid.cjs b/bin/nanoid.cjs index aeb5f431..c76db0fa 100755 --- a/bin/nanoid.cjs +++ b/bin/nanoid.cjs @@ -22,10 +22,10 @@ if (process.argv.includes('--help') || process.argv.includes('-h')) { -h, --help Show this help Examples - $ nano --s 15 + $ nanoid --s 15 S9sBF77U6sDB8Yg - $ nano --size 10 --alphabet abc + $ nanoid --size 10 --alphabet abc bcabababca`) process.exit() }