Skip to content

Commit 009c40b

Browse files
committed
add -w option in the program basic info
1 parent ec4de6a commit 009c40b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • implement-shell-tools/wc

implement-shell-tools/wc/wc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ program
77
.name("count-containing-lines-words-characters")
88
.description("Counts lines, words or characters in a file (or all files) inside a directory")
99
.option("-l, --line", "The number of lines in each file")
10+
.option("-w, --word", "The number of words in each file")
1011
.argument("<path...>", "The file path to process");
1112

1213
program.parse();

0 commit comments

Comments
 (0)