diff --git a/src/ape_pm/_cli.py b/src/ape_pm/_cli.py index 760043c0ae..8fe0e0c509 100644 --- a/src/ape_pm/_cli.py +++ b/src/ape_pm/_cli.py @@ -62,7 +62,10 @@ def _list(cli_ctx, list_all): packages.append(item) if not packages: - click.echo("No packages installed.") + if list_all: + click.echo("No packages installed.") + else: + click.echo("No packages installed. Use `--all` to list all installed dependencies.") return # Output gathered packages.