Skip to content

Commit e209b0a

Browse files
authored
Update help messages of CLI commands
1 parent a2d7054 commit e209b0a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/cli/init.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ initialize a [source-git repo](/source-git).
2525

2626
Usage: packit init [OPTIONS] [PATH_OR_URL]
2727

28-
Create the initial Packit configuration in a repository
28+
Create the initial Packit configuration in a repository and add a pre-commit
29+
hook to validate Packit configuration file
2930

3031
See 'packit source-git init', if you want to initialize a repository as a
3132
source-git repo.
3233

3334
Options:
34-
--force-precommit Automatically create an empty pre-commit configuration file if missing.
35-
--without-precommit Skip adding pre-commit hook to pre-commit configuration file.
3635
-f, --force Reset config to default if already exists.
36+
--without_precommit Skip adding packit-specific pre-commit configuration
37+
hook.
38+
--force_precommit Create pre-commit configuration file if missing.
3739
-h, --help Show this message and exit.

0 commit comments

Comments
 (0)