Skip to content

Commit b1e9f46

Browse files
authored
Created Column for default values
Also set the text to left aligned.
1 parent 1cfd2f9 commit b1e9f46

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -42,32 +42,32 @@ Using `npx` you can run the script without installing it first:
4242

4343
## Available Options:
4444

45-
| Command | Description |
46-
| ------------- |:-------------:|
47-
| `-p` or `--port` | Port to use (defaults to 8080). Use `-p 0` to look for an open port, starting at 8080. It will also read from `process.env.PORT`. |
48-
| `-a` | Address to use (defaults to 0.0.0.0) |
49-
| `-d` | Show directory listings (defaults to `true`) |
50-
| `-i` | Address to use (defaults to 0.0.0.0) |
51-
| `-g` or `--gzip` | When enabled (defaults to `false`) it will serve `./public/some-file.js.gz` in place of `./public/some-file.js` when a gzipped version of the file exists and the request accepts gzip encoding. If brotli is also enabled, it will try to serve brotli first.|
52-
| `-b` or `--brotli`| When enabled (defaults to `false`) it will serve `./public/some-file.js.br` in place of `./public/some-file.js` when a brotli compressed version of the file exists and the request accepts `br` encoding. If gzip is also enabled, it will try to serve brotli first. |
53-
| `-e` or `--ext` | Default file extension if none supplied (defaults to `html`) |
54-
| `-s` or `--silent` | Suppress log messages from output |
55-
| `--cors` | Enable CORS via the `Access-Control-Allow-Origin` header |
56-
| `-o [path]` | Open browser window after starting the server. Optionally provide a URL path to open. e.g.: -o /other/dir/ |
57-
| `-c` | Set cache time (in seconds) for cache-control max-age header, e.g. `-c10` for 10 seconds (defaults to `3600`). To disable caching, use `-c-1`.|
58-
| `-U` or `--utc` | Use UTC time format in log messages.|
59-
| `--log-ip` | Enable logging of the client's IP address (default: `false`). |
60-
| `-P` or `--proxy` | Proxies all requests which can't be resolved locally to the given url. e.g.: -P http://someurl.com |
61-
| `--username` | Username for basic authentication [none] |
62-
| `--password` | Password for basic authentication [none] |
63-
| `-S` or `--ssl` | Enable https.|
64-
| `-C` or `--cert` | Path to ssl cert file (default: `cert.pem`). |
65-
|`-K` or `--key` | Path to ssl key file (default: `key.pem`). |
66-
| `-r` or `--robots` | Provide a /robots.txt (whose content defaults to `User-agent: *\nDisallow: /`) |
67-
| `--no-dotfiles` | Do not show dotfiles
68-
| `--mimetypes` |Path to a .types file for custom mimetype definition
69-
| `-h` or `--help` | Print this list and exit. |
70-
| `-v` or `--version`| Print the version and exit. |
45+
| Command | Description | Defaults |
46+
| ------------- |-------------|-------------|
47+
|`-p` or `--port` |Port to use. Use `-p 0` to look for an open port, starting at 8080. It will also read from `process.env.PORT`. |8080 |
48+
|`-a` |Address to use |defaults to 0.0.0.0|
49+
|`-d` |Show directory listings |`true` |
50+
|`-i` |Address to use | defaults to 0.0.0.0 |
51+
|`-g` or `--gzip` |When enabled it will serve `./public/some-file.js.gz` in place of `./public/some-file.js` when a gzipped version of the file exists and the request accepts gzip encoding. If brotli is also enabled, it will try to serve brotli first.|`false`|
52+
|`-b` or `--brotli`|When enabled it will serve `./public/some-file.js.br` in place of `./public/some-file.js` when a brotli compressed version of the file exists and the request accepts `br` encoding. If gzip is also enabled, it will try to serve brotli first. |`false`|
53+
|`-e` or `--ext` |Default file extension if none supplied |`html` |
54+
|`-s` or `--silent` |Suppress log messages from output | |
55+
|`--cors` |Enable CORS via the `Access-Control-Allow-Origin` header | |
56+
|`-o [path]` |Open browser window after starting the server. Optionally provide a URL path to open. e.g.: -o /other/dir/ | |
57+
|`-c` |Set cache time (in seconds) for cache-control max-age header, e.g. `-c10` for 10 seconds. To disable caching, use `-c-1`.|`false` |
58+
|`-U` or `--utc` |Use UTC time format in log messages.| |
59+
|`--log-ip` |Enable logging of the client's IP address |`false` |
60+
|`-P` or `--proxy` |Proxies all requests which can't be resolved locally to the given url. e.g.: -P http://someurl.com | |
61+
|`--username` |Username for basic authentication [none] | |
62+
|`--password` |Password for basic authentication [none] | |
63+
|`-S` or `--ssl` |Enable https.| |
64+
|`-C` or `--cert` |Path to ssl cert file |`cert.pem` |
65+
|`-K` or `--key` |Path to ssl key file |`key.pem` |
66+
|`-r` or `--robots` |Provide a /robots.txt `User-agent: *\nDisallow: /` | |
67+
|`--no-dotfiles` |Do not show dotfiles| |
68+
|`--mimetypes` |Path to a .types file for custom mimetype definition| |
69+
|`-h` or `--help` |Print this list and exit. | |
70+
|`-v` or `--version`|Print the version and exit. | |
7171

7272
## Magic Files
7373

0 commit comments

Comments
 (0)