Skip to content

Commit 47338bd

Browse files
committed
Document command-line arguments
1 parent 3ed3d8b commit 47338bd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ but no changes are actually made. All available options are given by
6565
`djthml -h` / `djthml --help`.
6666

6767

68+
### Command-line arguments
69+
70+
DjHTML supports the following command-line arguments:
71+
72+
- `-h` / `--help`: Show help text.
73+
- `-v` / `--version`: Show version number.
74+
- `-c` / `--check`: Dry-run, checks without modifying files.
75+
- `-t` / `--tabwidth N`: Tabwidth. The default is to guess.
76+
- `-b` / `--extra-block BEGIN,END`: Define an extra non-standard block
77+
tag. Can be used multiple times.
78+
79+
6880
## `fmt:off` and `fmt:on`
6981

7082
You can exclude specific lines from being processed with the

0 commit comments

Comments
 (0)