From 5312e683fcc800e528c01d652aab30e862e44a0b Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Wed, 11 Nov 2015 19:20:01 -0500 Subject: hooks: pass matched targets to hooks Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- doc/alpm-hooks.5.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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 = (Required) Depends = (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 ---------------- -- cgit v1.2.3-24-g4f1b