diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-05-04 14:30:42 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-05-04 14:30:42 -0700 |
commit | c9d7a86960aba51c820ec1bb11142531764f7730 (patch) | |
tree | 9a8fe6eb6f50ab623af8d352c0ce446b56237556 | |
parent | 88b2fee4f08f466d3b29f93e9282142429e13d7c (diff) | |
download | portage-c9d7a86960aba51c820ec1bb11142531764f7730.tar.gz portage-c9d7a86960aba51c820ec1bb11142531764f7730.tar.bz2 portage-c9d7a86960aba51c820ec1bb11142531764f7730.zip |
Make --exclude use whitespace to separate atoms since atoms are typically
separated by whitespace.
-rw-r--r-- | man/emerge.1 | 2 | ||||
-rw-r--r-- | pym/_emerge/help.py | 2 | ||||
-rw-r--r-- | pym/_emerge/main.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/man/emerge.1 b/man/emerge.1 index a0ba4b70f..26df25148 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 bf95a05eb..e803bd899 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 d5d364b21..66c6e037a 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) |