diff options
-rw-r--r-- | pym/_emerge/main.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 9115a25d6..543a0080d 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -1143,6 +1143,12 @@ def emerge_main(): print "emerge: can't specify both of \"--tree\" and \"--columns\"." return 1 + if '--emptytree' in myopts and '--noreplace' in myopts: + writemsg_level("emerge: can't specify both of " + \ + "\"--empty\" and \"--noreplace\".\n", + level=logging.ERROR, noiselevel=-1) + return 1 + if ("--quiet" in myopts): spinner.update = spinner.update_quiet portage.util.noiselimit = -1 |