Skip to content

prek install options are confusing #1965

@injust

Description

@injust

prek install --help says that options like --quiet and --verbose are global options. This suggests that they affect the current command's behaviour. However, these options actually change the prek hook that is installed! That is both confusing and surprising.

To be clear, the option is documented to do 1 thing, and it does 2 things. The location of the option isn't relevant, either (prek install --quiet and prek --quiet install do the same thing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions