diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-11-11 19:20:01 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-11-28 22:53:24 +1000 |
commit | 5312e683fcc800e528c01d652aab30e862e44a0b (patch) | |
tree | 5890a6e607e4c9f7478c125ad09e07b700bfb324 /doc | |
parent | 8ad893732d44960d04cb476c436b7ea045626f07 (diff) | |
download | pacman-5312e683fcc800e528c01d652aab30e862e44a0b.tar.xz |
hooks: pass matched targets to hooks
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/alpm-hooks.5.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/alpm-hooks.5.txt b/doc/alpm-hooks.5.txt index 770f466e..3729387c 100644 --- a/doc/alpm-hooks.5.txt +++ b/doc/alpm-hooks.5.txt @@ -23,6 +23,7 @@ When = PreTransaction|PostTransaction (Required) Exec = <Command> (Required) Depends = <PkgName> (Optional) AbortOnFail (Optional, PreTransaction only) +NeedsTargets (Optional) -------- DESCRIPTION @@ -77,6 +78,10 @@ ACTIONS Causes the transaction to be aborted if the hook exits non-zero. Only applies to PreTransaction hooks. +*NeedsTargets*:: + Causes the list of matched trigger targets to be passed to the running hook + on 'stdin'. + OVERRIDING HOOKS ---------------- |