summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-11-11 19:20:01 -0500
committerAllan McRae <allan@archlinux.org>2015-11-28 22:53:24 +1000
commit5312e683fcc800e528c01d652aab30e862e44a0b (patch)
tree5890a6e607e4c9f7478c125ad09e07b700bfb324 /doc
parent8ad893732d44960d04cb476c436b7ea045626f07 (diff)
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.txt5
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
----------------