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).
prek install --helpsays that options like--quietand--verboseare 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 --quietandprek --quiet installdo the same thing).