Skip to content

Commit bf704d3

Browse files
Add documentation for flags -i and -o in the readme
1 parent 23c96e5 commit bf704d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ The command above starts a local server and opens the browser, use the arrow key
4545
Inside the project directory, run:
4646

4747
```sh
48-
$ onepunch print
48+
$ onepunch print [-i htmlfile] [-o pdffile]
4949
```
5050

51+
Flag `-i` (or `--input`) specifies the HTML file to print, it defaults to "index.html".
52+
Flag `-o` (or `--output`) specifies the name of the PDF file in output, it defaults to "index.pdf".
53+
5154
### Update
5255

5356
Update files in the `src` directory according to the latest release of **onepunch**, please note that any custom change inside directory `src` will be overwritten:

0 commit comments

Comments
 (0)