summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-05-01 18:59:17 +0200
committerUlrich Müller <ulm@gentoo.org>2018-05-04 08:53:47 +0200
commit22c28618b72b959829f8d9f7d586fb49cfa92c46 (patch)
tree60bf2633d0ac9afdd081db1f7d468658cb694c7e
parentMerge branch 'eapi-7' (diff)
downloadpms-22c28618b72b959829f8d9f7d586fb49cfa92c46.tar.gz
pms-22c28618b72b959829f8d9f7d586fb49cfa92c46.tar.bz2
pms-22c28618b72b959829f8d9f7d586fb49cfa92c46.zip
nonfatal: Reword argument handling to be cleaner
Reword the description of 'nonfatal' to explicitly indicate that it takes 1+ args and executes them as a command. The original 'remainder of its argument' wording sounds weird, given that there is no earlier mention of argument processing (-> remainder from what?). This also clarifies that calling nonfatal with no argument is not valid.
-rw-r--r--pkg-mgr-commands.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 506673b..cb704f0 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -17,7 +17,7 @@ table~\ref{tab:commands-die-table}.
The following commands affect this behaviour:
\begin{description}
-\item[nonfatal] \featurelabel{nonfatal} Executes the remainder of its arguments as a command,
+\item[nonfatal] \featurelabel{nonfatal} Takes one or more arguments and executes them as a command,
preserving the exit status. If this results in a command being called that would normally abort
the build process due to a failure, instead a non-zero exit status shall be returned. Only in
EAPIs listed in table~\ref{tab:commands-die-table} as supporting \t{nonfatal}.