added the --hook option in the docs