Skip to content

Hide version info in pixi search -l 0 output#5783

Closed
mvanhorn wants to merge 1 commit intoprefix-dev:mainfrom
mvanhorn:fix-search-limit-zero
Closed

Hide version info in pixi search -l 0 output#5783
mvanhorn wants to merge 1 commit intoprefix-dev:mainfrom
mvanhorn:fix-search-limit-zero

Conversation

@mvanhorn
Copy link
Copy Markdown

When the version limit is set to 0 (-l 0), only bare package names are
printed - no version counts, no version lines, no "more versions" hints.

Before:

> pixi search cargo* -l 0
cargo-audit (15 versions)
... and 15 more versions (use -l to show more)

cargo-auditable (8 versions)
... and 8 more versions (use -l to show more)

After:

> pixi search cargo* -l 0
cargo-audit
cargo-auditable
cargo-binutils
cargo-bundle-licenses
cargo-c

This gives a clean list suitable for piping or scripting.

Fixes #5763

When the version limit is set to 0, only print bare package names
without version counts, version lines, or "more versions" hints.
This gives a clean list suitable for piping or scripting.

Fixes prefix-dev#5763

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@baszalmstra
Copy link
Copy Markdown
Contributor

baszalmstra commented Apr 17, 2026

Superseded by #5820

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide all version info in pixi search -l 0 output

2 participants