feat: allow package names in interactive info commands

This commit is contained in:
bryanpedini committed 2026-10-30 21:17:43 +01:00
1 parent 33ebf89748
commit 5f90c24b8d
4 files changed
+85 -7

No files matched your search

+6 -1
View File
@@ -131,7 +131,12 @@ package (pacman backend with paru or yay, see below) and a space on every other
One line, whitespace-separated tokens; `N` is the number in brackets. Numbers are
stable for the whole session (rows that leave the list leave a gap). Every token
of a line is checked for syntax first: an unknown token rejects the line. A number
that is not listed prints an error and the remaining commands still run.
or package name that is not listed prints an error and the remaining commands still run.
For `?` and `??`, a listed package name can replace the number, for example
`su-dummy-a?` or `su-dummy-a??`. A digits-only reference is interpreted as a number.
Names are restricted to these information commands to avoid unnecessary parsing
complexity: package names may contain `-` or end in `x`, which conflicts with the
other command suffixes.
| token | action |
|-------|--------|