Aliases in dnf5

In reference to:

There are some compatibility aliases already defined under /usr/share/dnf5/aliases.d that you can use for reference.

File format and locations are noted in the documentation:
https://dnf5.readthedocs.io/en/latest/misc/aliases.7.html

Example implementing --ref for --refresh

version = '1.0' 
['ref']
type = 'cloned_named_arg'
long_name = 'ref'
source = 'refresh'
2 Likes