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