Skip to content

Commit 0f81c20

Browse files
author
ajohns
committed
fix bug related to now-removed rez-pip --search option
1 parent 20db465 commit 0f81c20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rez/cli/pip.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ def command(opts, parser, extra_arg_groups=None):
4747
from rez.pip import pip_install_package
4848
import warnings
4949

50-
if not (opts.search or opts.install):
51-
parser.error("Expected one of: --install, --search")
50+
# a bit weird, but there used to be more options. Leave like this for now
51+
if not opts.install:
52+
parser.error("Expected one of: --install")
5253

5354
if opts.pip_ver:
5455
with warnings.catch_warnings():

0 commit comments

Comments
 (0)