summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-25 14:16:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-25 14:16:02 +0000
commitc11df96b1dbc3a05252951e544b2e6c84d05fcf2 (patch)
treed16b1abad73389a151d31d0b1651e89441222d84
parent00923f1878f8bdc6b81f8242659bc4249526a2b8 (diff)
downloadurpmi-c11df96b1dbc3a05252951e544b2e6c84d05fcf2.tar
urpmi-c11df96b1dbc3a05252951e544b2e6c84d05fcf2.tar.gz
urpmi-c11df96b1dbc3a05252951e544b2e6c84d05fcf2.tar.bz2
urpmi-c11df96b1dbc3a05252951e544b2e6c84d05fcf2.tar.xz
urpmi-c11df96b1dbc3a05252951e544b2e6c84d05fcf2.zip
need for previous commit: document "urpmq --requires"
-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.