# HG changeset patch # User James Bowes # Date 1214271513 14400 # Node ID 5a20654e903c8bfab775e5500fa013df01b19e07 # Parent 97c12ddedfb31844f1c006fdb85cab1396ee095a For rpm --query, --requires is also -R diff -r 97c12ddedfb3 -r 5a20654e903c src/rpm.c --- a/src/rpm.c Mon Jun 23 21:20:16 2008 -0400 +++ b/src/rpm.c Mon Jun 23 21:38:33 2008 -0400 @@ -198,7 +198,7 @@ { 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, },