1 |
commit: 22c28618b72b959829f8d9f7d586fb49cfa92c46 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 1 16:59:17 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 4 06:53:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=22c28618 |
7 |
|
8 |
nonfatal: Reword argument handling to be cleaner |
9 |
|
10 |
Reword the description of 'nonfatal' to explicitly indicate that it |
11 |
takes 1+ args and executes them as a command. The original 'remainder |
12 |
of its argument' wording sounds weird, given that there is no earlier |
13 |
mention of argument processing (-> remainder from what?). This also |
14 |
clarifies that calling nonfatal with no argument is not valid. |
15 |
|
16 |
pkg-mgr-commands.tex | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
20 |
index 506673b..cb704f0 100644 |
21 |
--- a/pkg-mgr-commands.tex |
22 |
+++ b/pkg-mgr-commands.tex |
23 |
@@ -17,7 +17,7 @@ table~\ref{tab:commands-die-table}. |
24 |
|
25 |
The following commands affect this behaviour: |
26 |
\begin{description} |
27 |
-\item[nonfatal] \featurelabel{nonfatal} Executes the remainder of its arguments as a command, |
28 |
+\item[nonfatal] \featurelabel{nonfatal} Takes one or more arguments and executes them as a command, |
29 |
preserving the exit status. If this results in a command being called that would normally abort |
30 |
the build process due to a failure, instead a non-zero exit status shall be returned. Only in |
31 |
EAPIs listed in table~\ref{tab:commands-die-table} as supporting \t{nonfatal}. |