diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2023-03-30 12:21:23 +0200 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2023-04-03 13:43:51 +0200 |
commit | a5bd7571358c7974da1c909e331525b13dce1264 (patch) | |
tree | ac0d9eac9e5159a192aa232329b65cb9ea4d0525 | |
parent | 1a9393f06a1de9f3864c3897674145068415e7ff (diff) | |
download | rpm-a5bd7571358c7974da1c909e331525b13dce1264.tar.gz |
Added more details to the doc about what is returned by the macros '%-x' and '%-x*'
Fixes: #2457
-rw-r--r-- | docs/manual/macros.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/macros.md b/docs/manual/macros.md index 6a2f77e3a..7d0bac857 100644 --- a/docs/manual/macros.md +++ b/docs/manual/macros.md @@ -38,8 +38,8 @@ macros are available: %* all arguments (unlike shell, not including any processed flags) %** all arguments (including any processed flags) %# the number of arguments - %{-f} if present at invocation, the flag f itself - %{-f*} if present at invocation, the argument to flag f + %{-f} if present at invocation, the last occurence of flag f (flag and argument) + %{-f*} if present at invocation, the argument to the last occurence of flag f %1, %2 the arguments themselves (after getopt(3) processing) ``` |