diff --git a/pex/cli/commands/lock.py b/pex/cli/commands/lock.py index f8546c87e..b7f7ff178 100644 --- a/pex/cli/commands/lock.py +++ b/pex/cli/commands/lock.py @@ -757,8 +757,8 @@ def add_extra_arguments( "1st argument resolves to a binary in a venv." ), func=cls._sync, - ) as update_parser: - cls._add_sync_arguments(update_parser) + ) as sync_parser: + cls._add_sync_arguments(sync_parser) def _resolve_targets( self,