diff --git a/piptools/scripts/compile.py b/piptools/scripts/compile.py index 5fb525e3d..13be7442e 100755 --- a/piptools/scripts/compile.py +++ b/piptools/scripts/compile.py @@ -125,7 +125,7 @@ def _get_default_option(option_name: str) -> Any: ) @click.option( "-U", - "--upgrade", + "--upgrade/--no-upgrade", is_flag=True, default=False, help="Try to upgrade all dependencies to their latest versions",