summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pod/urpmq.8.pod4
-rw-r--r--urpmi.bash-completion2
-rwxr-xr-xurpmq1
3 files changed, 6 insertions, 1 deletions
diff --git a/pod/urpmq.8.pod b/pod/urpmq.8.pod
index f8bc6b99..d4304098 100644
--- a/pod/urpmq.8.pod
+++ b/pod/urpmq.8.pod
@@ -208,6 +208,10 @@ Prints the package changelog.
Prints the package provides.
+=item B<--requires>
+
+Prints the package requires.
+
=item B<--sourcerpm>
Prints the sourcerpm of the package
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 2aec2e60..603b6b7c 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -137,7 +137,7 @@ _urpmq()
-r -f -l --update --media --excludemedia \
--sortmedia --synthesis --auto-select --no-suggests --fuzzy --keep --nokeep \
--list --list-url --list-media --list-nodes --list-aliases \
- --src --sources --provides --summary --sourcerpm --force --parallel --wget --curl --prozilla \
+ --src --sources --provides --requires --summary --sourcerpm --force --parallel --wget --curl --prozilla \
--changelog --proxy --proxy-user --env --dump-config \
--whatprovides --whatrequires --whatrequires-recursive \
--skip --prefer \
diff --git a/urpmq b/urpmq
index d7f3f21a..c88cd268 100755
--- a/urpmq
+++ b/urpmq
@@ -79,6 +79,7 @@ usage:
") . N(" --env - use specific environment (typically a bug report).
") . N(" --changelog - print changelog.
") . N(" --provides - print provides.
+") . N(" --requires - print requires.
") . N(" --sourcerpm - print sourcerpm.
") . N(" --summary, -S - print summary.
") . N(" --verbose, -v - verbose mode.