Skip to content

Commit 3ae8bd9

Browse files
committed
Add documentation for lock dir option
1 parent 50d165d commit 3ae8bd9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,11 @@ Hooks can be listed with the `cghooks list-hooks` command. This basically checks
126126

127127
The following options are common to all commands.
128128

129-
| Option | Description | Command |
130-
| --------- | ----------------------------------- | ---------------------------------------------- |
131-
| `git-dir` | Path to git directory | `cghooks ${command} --git-dir='/path/to/.git'` |
132-
| `global` | Runs the specified command globally | `cghooks ${command} --global` |
129+
| Option | Description | Command |
130+
| ---------- | ----------------------------------- | ----------------------------------------------- |
131+
| `git-dir` | Path to git directory | `cghooks ${command} --git-dir='/path/to/.git'` |
132+
| `lock-dir` | Path to lock file directory | `cghooks ${command} --lock-dir='/path/to/lock'` |
133+
| `global` | Runs the specified command globally | `cghooks ${command} --global` |
133134

134135
Each command also has a flag `-v` to control verbosity for more detailed logs. Currently, only one level is supported.
135136

0 commit comments

Comments
 (0)