summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bowes <jbowes@redhat.com>2008-06-23 21:38:33 -0400
committerJames Bowes <jbowes@redhat.com>2008-06-23 21:38:33 -0400
commitda9cc1b00a1e9b52d369bb430a5628a0c9a41fb7 (patch)
treeebe187bedd9f3f02f7d2929f4536130b79598818
parentfd60e3a9808554f753e0466b36977aba98841656 (diff)
For rpm --query, --requires is also -R
-rw-r--r--src/rpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpm.c b/src/rpm.c
index 0e6363d..3cb8ddb 100644
--- a/src/rpm.c
+++ b/src/rpm.c
@@ -198,7 +198,7 @@ static const struct option alias_options[] = {
{ OPTION_BOOL, "conflicts", 0, NULL, "list capabilities this package conflicts with", &option_conflicts, },
{ OPTION_BOOL, "obsoletes", 0, NULL, "list other packages removed by installing this package", &option_obsoletes, },
{ OPTION_BOOL, "provides", 0, NULL, "list capabilities that this package provides", &option_provides, },
- { OPTION_BOOL, "requires", 0, NULL, "list capabilities required by package(s)", &option_requires, },
+ { OPTION_BOOL, "requires", 'R', NULL, "list capabilities required by package(s)", &option_requires, },
{ OPTION_BOOL, "info", 'i', NULL, "list descriptive information from package(s)", &option_info, },
{ OPTION_BOOL, "changelog", 0, NULL, "list change logs for this package", &option_changelog, },
{ OPTION_BOOL, "xml", 0, NULL, "list metadata in xml", NULL, },