summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--pod/urpmf.8.pod4
-rw-r--r--urpm/args.pm1
-rwxr-xr-xurpmf2
-rw-r--r--urpmi.bash-completion2
5 files changed, 10 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7488de4f..53a1384d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- urpmf
+ o handle --license
- urpmi.update
o handle -q option (#31890)
- urpmq
diff --git a/pod/urpmf.8.pod b/pod/urpmf.8.pod
index c17395f3..af05582c 100644
--- a/pod/urpmf.8.pod
+++ b/pod/urpmf.8.pod
@@ -152,6 +152,10 @@ specify no field).
Prints the Group tag.
+=item B<--license>
+
+Prints the License tag.
+
=item B<--name>
Prints package names.
diff --git a/urpm/args.pm b/urpm/args.pm
index 5405838d..403e52b6 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -335,6 +335,7 @@ foreach my $k (qw(
filename
files
group
+ license
obsoletes
packager
provides
diff --git a/urpmf b/urpmf
index 30e5a592..03ca1fa4 100755
--- a/urpmf
+++ b/urpmf
@@ -69,6 +69,7 @@ usage: urpmf [options] pattern-expression
") . N(" --filename - filename of the package
") . N(" --files - list of files contained in the package
") . N(" --group - group
+") . N(" --license - license
") . N(" --name - package name
") . N(" --obsoletes - obsoletes tags
") . N(" --packager - packager
@@ -200,6 +201,7 @@ my $need_hdlist = grep { $usedtags{$_} } qw(
description
distribution
files
+ license
packager
sourcerpm
url
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index b734171b..bc93daed 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -241,7 +241,7 @@ _urpmf()
# return list of available options
COMPREPLY=( $( compgen -W '-i -f -e -a -o -m --help --update \
--media --excludemedia --sortmedia --synthesis --use-distrib \
- --verbose --quiet --uniq --name --group --size \
+ --verbose --quiet --uniq --name --group --license --size \
--epoch --summary --description --sourcerpm --packager\
--buildhost --url --provides --requires --files \
--conflicts --obsoletes --env ' -- $cur ) )