summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-05-04 14:30:42 -0700
committerZac Medico <zmedico@gentoo.org>2010-05-04 14:30:42 -0700
commitc9d7a86960aba51c820ec1bb11142531764f7730 (patch)
tree9a8fe6eb6f50ab623af8d352c0ce446b56237556
parentMake vardbapi.counter_tick_core() create the counter file's parent directory (diff)
downloadportage-idfetch-c9d7a86960aba51c820ec1bb11142531764f7730.tar.gz
portage-idfetch-c9d7a86960aba51c820ec1bb11142531764f7730.tar.bz2
portage-idfetch-c9d7a86960aba51c820ec1bb11142531764f7730.zip
Make --exclude use whitespace to separate atoms since atoms are typically
separated by whitespace.
-rw-r--r--man/emerge.12
-rw-r--r--pym/_emerge/help.py2
-rw-r--r--pym/_emerge/main.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/man/emerge.1 b/man/emerge.1
index a0ba4b70..26df2514 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -360,7 +360,7 @@ installed. You should run this with \fB\-\-pretend\fR
first to make sure the result is what you expect.
.TP
.BR "\-\-exclude " ATOMS
-A comma separated list of package names or slot 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.
.TP
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index bf95a05e..e803bd89 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -379,7 +379,7 @@ def help(myopts, havecolor=1):
print(desc_indent + line)
print()
print(" " + green("--exclude") + " " + turquoise("ATOMS"))
- desc = "A comma separated list of package names or slot atoms. " + \
+ desc = "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."
for line in wrap(desc, desc_width):
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index d5d364b2..66c6e037 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -561,7 +561,7 @@ def parse_opts(tmpcmdline, silent=False):
},
"--exclude": {
- "help" :"A comma separated list of package names or slot atoms. " + \
+ "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.",
@@ -735,7 +735,7 @@ def parse_opts(tmpcmdline, silent=False):
if myoptions.exclude:
exclude = []
bad_atoms = []
- for x in myoptions.exclude.split(","):
+ for x in myoptions.exclude.split():
bad_atom = False
try:
atom = portage.dep.Atom(x)