diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-06-08 13:51:20 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-06-08 14:03:18 +0200 |
commit | d85de06bb7565fe73ae1fda4d1157ad8a67e1351 (patch) | |
tree | cdfd24bd2e4da2abb8f6d5562ec8ebe128503db7 /pkg-mgr-commands.tex | |
parent | pkg-mgr-commands.tex: Two small fixes for version commands. (diff) | |
download | pms-d85de06bb7565fe73ae1fda4d1157ad8a67e1351.tar.gz pms-d85de06bb7565fe73ae1fda4d1157ad8a67e1351.tar.bz2 pms-d85de06bb7565fe73ae1fda4d1157ad8a67e1351.zip |
pkg-mgr-commands: Correct 'empty' insopts behavior to match PMs
My previous fix to insopts turns out twice wrong: firstly, because I did
not really type what I meant, and secondly because package managers have
inconsistent behavior there. Portage uses the default mode (specified
by PMS) when insopts was called with no arguments or arguments forming
an empty string; PkgCore and Paludis literally pass empty argument list
to install. Mark the behavior as undefined to match that.
Fixes: 2955b2dfaa5599677bf33e56c7619ccc557ebfff
Diffstat (limited to 'pkg-mgr-commands.tex')
-rw-r--r-- | pkg-mgr-commands.tex | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index be05322..e45f9c7 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -725,9 +725,8 @@ function has returned. \item[docinto] As \t{into}, for install subdirectory of \t{dodoc} et al. -\item[insopts] Takes zero or more arguments, and sets the options passed by \t{doins} et al.\ - to the \t{install} command to them. When called with no arguments, resets the option list - to empty. +\item[insopts] Takes one or more arguments, and sets the options passed by \t{doins} et al.\ + to the \t{install} command to them. Behaviour upon encountering empty arguments is undefined. \item[diropts] As \t{insopts}, for \t{dodir} et al. |