Skip to content

Commit 2e9e468

Browse files
jlebonjan-kolarik
authored andcommitted
download: add --source alias for --srpm
For compatibility with the download plugin in dnf4: https://github.com/rpm-software-management/dnf-plugins-core/blob/a054dcbd64db7743b0af78ac8e06104c4bd6be6e/plugins/download.py#L52-L53
1 parent 74d0f80 commit 2e9e468

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dnf5/config/usr/share/dnf5/aliases.d/compatibility.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,3 +352,12 @@ long_name = 'list'
352352
short_name = 'l'
353353
source = 'repoquery.files'
354354
group_id = 'repoquery_formatting'
355+
356+
########################################
357+
# Download aliases
358+
########################################
359+
360+
['download.source']
361+
type = 'cloned_named_arg'
362+
long_name = 'source'
363+
source = 'download.srpm'

0 commit comments

Comments
 (0)