Skip to content

Commit bba6549

Browse files
committed
Update usage
1 parent 4226ba0 commit bba6549

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import cli from './cli';
55

66
const argv = yargs(hideBin(process.argv))
77
.scriptName('count')
8-
.usage('$0 [args]')
8+
.usage('$0 [FILE]...')
9+
.example('$0 foo.ts bar.ts', 'count chars in files')
910
.demand(1)
1011
.help().argv;
1112

0 commit comments

Comments
 (0)