diff --git a/_docs/090_hooks.md b/_docs/090_hooks.md index 967d190..609c0ca 100644 --- a/_docs/090_hooks.md +++ b/_docs/090_hooks.md @@ -32,10 +32,15 @@ YADM_HOOK_EXIT : The exit status of the yadm command YADM_HOOK_FULL_COMMAND -: The yadm command with all command line arguments +: The yadm command with all command line arguments (parameters are space + delimited, and any space, tab or backslash will be escaped with a + backslash). An example of parsing this variable with Bash can be found + [here][parse-example]. YADM_HOOK_REPO : The path to the yadm repository YADM_HOOK_WORK : The path to the work-tree + +[parse-example]: https://github.com/yadm-dev/yadm/blob/master/contrib/hooks/parsing_full_command_example/pre_log