Skip to content

Commit

Permalink
Add documentation for lock dir option
Browse files Browse the repository at this point in the history
  • Loading branch information
BrainMaestro committed Sep 2, 2019
1 parent 50d165d commit 3ae8bd9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ Hooks can be listed with the `cghooks list-hooks` command. This basically checks

The following options are common to all commands.

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

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

Expand Down

0 comments on commit 3ae8bd9

Please sign in to comment.