commit: e5be73709b1a42b40380fd336f9381452b01a723 Author: Christian Ruppert <idl0r <AT> qasl <DOT> de> AuthorDate: Wed Dec 22 09:12:06 2021 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Tue Dec 28 20:05:59 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e5be7370
Add -X shortopt for --exclude Closes: https://github.com/gentoo/portage/pull/780 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> lib/_emerge/main.py | 1 + man/emerge.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/_emerge/main.py b/lib/_emerge/main.py index 592a74692..8928f268d 100644 --- a/lib/_emerge/main.py +++ b/lib/_emerge/main.py @@ -472,6 +472,7 @@ def parse_opts(tmpcmdline, silent=False): "choices": y_or_n, }, "--exclude": { + "shortopt": "-X", "help": "A space separated list of package names or slot atoms. " + "Emerge won't install any ebuild or binary package that " + "matches any of the given package atoms.", diff --git a/man/emerge.1 b/man/emerge.1 index 8f6d12925..5ba88f3bc 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -1,4 +1,4 @@ -.TH "EMERGE" "1" "Nov 2021" "Portage VERSION" "Portage" +.TH "EMERGE" "1" "Dec 2021" "Portage VERSION" "Portage" .SH "NAME" emerge \- Command\-line interface to the Portage system .SH "SYNOPSIS" @@ -588,7 +588,7 @@ dependency tree, as though no packages are currently installed. You should run this with \fB\-\-pretend\fR first to make sure the result is what you expect. .TP -.BR "\-\-exclude " ATOMS +.BR "\-\-exclude, \-X ATOMS" A space separated list of package names or slot atoms. Emerge won't install any ebuild or binary package that matches any of the given package atoms.
