On Tue, 2024-04-30 at 15:38 +0000, Bastien Roucariès wrote: > Le mardi 30 avril 2024, 15:24:11 UTC Benjamin Drung a écrit : > > Hi, > > > > On Mon, 2024-04-15 at 18:58 +0000, Bastien Roucariès wrote: > > > Package: distro-info > > > Version: 1.7 > > > Severity: minor > > > > > > Dear Maintainer, > > > > > > distro-info --alias=trixie -r is misleading it return trixie instead of > > > 13... > > > > > > Maybe a feature but should be documented > > > > > > I workarround by doing in my script in two steps: > > > distro-info --$(distro-info --alias=trixie) -r > > > > --alias was not developed to be combined with -c/-r/-f. So either > > distro-info should reject this parameter combination or change the > > behaviour to what you wanted to do. > > > > > Yes that is the bug, with additionnally a documentation bug.
What I forgot to mention: Merge requests on https://salsa.debian.org/debian/distro-info are welcome. -- Benjamin Drung Debian & Ubuntu Developer