diff options
author | 2016-02-06 10:48:54 +0100 | |
---|---|---|
committer | 2016-02-06 10:48:54 +0100 | |
commit | d86d8200817ee4b77e5d7a4bc552ec4711ed8638 (patch) | |
tree | 5aef3f851213906d659f56c2a5a502a765ec5906 | |
parent | show: Fix --pref-only (diff) | |
download | eselect-python-d86d8200817ee4b77e5d7a4bc552ec4711ed8638.tar.gz eselect-python-d86d8200817ee4b77e5d7a4bc552ec4711ed8638.tar.bz2 eselect-python-d86d8200817ee4b77e5d7a4bc552ec4711ed8638.zip |
update: Ignore Python 2 preference update requests
-rw-r--r-- | python.eselect.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python.eselect.in b/python.eselect.in index 2bf6e30..e05bff1 100644 --- a/python.eselect.in +++ b/python.eselect.in @@ -362,7 +362,7 @@ describe_update() { describe_update_options() { echo "--if-unset : do not alter preferences unless there is no valid preference set" echo "--ignore SLOT : ignore specified Python slots" - echo "--python2 : update only Python 2 preferences" + echo "--python2 : update only Python 2 preferences (ignored)" echo "--python3 : update only Python 3 preferences" } @@ -379,6 +379,8 @@ do_update() { ;; --python2|--py2) filter=--py2 + echo "Ignoring Python 2 preference update as non-meaningful" + return 0 ;; --python3|--py3) filter=--py3 |