Skip to content

Commit

Permalink
docs: mention --ext flag in man
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Nov 8, 2024
1 parent 6080a30 commit fced044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions man/zx.1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ prefix all commands
postfix all commands
.SS --eval=<js>, -e
evaluate script
.SS --ext=<.mjs>
default extension
.SS --install, -i
install dependencies
.SS --repl
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function printUsage() {
--postfix=<command> postfix all commands
--cwd=<path> set current directory
--eval=<js>, -e evaluate script
--ext=<.mjs> eval extension
--ext=<.mjs> default extension
--install, -i install dependencies
--version, -v print current zx version
--help, -h print help
Expand Down

0 comments on commit fced044

Please sign in to comment.