Skip to content

Commit

Permalink
docs: update parameters in help and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlescure committed Dec 14, 2020
1 parent a56a2c6 commit cf1d224
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,17 @@ Usage:
node fasthr [OPTION]
Options:
-d, --dir root directory where to serve files from.
-p, --port port to run server on.
-l, --livePort port to run livereload on.
-d, --dir=ARG root directory where to serve files from (default: current directory).
-p, --port=ARG port to run server on (default: 3000).
-a, --address=ARG address to run server on (default: 0.0.0.0).
-l, --livePort=ARG port to run livereload on (default: 35729).
-h, --help display this help
```

## Development

I chose Rollup to handle the transpiling, compression, and any other transformations needed to get
your Typescript code running as quickly and performant as possible.
this repo's Typescript code running as quickly and performant as possible.

```
yarn dev
Expand Down
2 changes: 1 addition & 1 deletion bin/fasthr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const {options} = require('./getopts').create([
['d', 'dir=ARG', 'root directory where to serve files from (default: current directory).'],
['p', 'port=ARG', 'port to run server on (default: 3000).'],
['a', 'address=ARG', 'address to run server on (default: 0.0.0.0).'],
['l', 'livePort=ARG', 'port to run livereload on.'],
['l', 'livePort=ARG', 'port to run livereload on (default: 35729).'],
])
.bindHelp()
.parseSystem();
Expand Down

0 comments on commit cf1d224

Please sign in to comment.