Skip to content

Commit

Permalink
fix(cli): remove default value for install hook command
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Oct 20, 2020
1 parent 97503fb commit dac8698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ To protect your commit history, and your git remote, cog have builtins

You can install them all by running :
```
cog install-hook
cog install-hook all
```

Or one by one, specifying the hook name :
Expand Down
3 changes: 1 addition & 2 deletions src/bin/cog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ fn main() -> Result<()> {
.help("Type of hook to install")
.takes_value(true)
.required(true)
.possible_values(&["pre-commit", "pre-push", "all"])
.default_value("all"),
.possible_values(&["pre-commit", "pre-push", "all"]),
)
.display_order(7);

Expand Down

0 comments on commit dac8698

Please sign in to comment.