aboutsummaryrefslogtreecommitdiffstats
path: root/parsehdlist.c
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-15 17:08:59 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-15 17:08:59 +0000
commit16c28ac373777313a4360cfcde0078d424e6701e (patch)
tree82f276ea7c7f6306a4323ff0ffc8666fb182e758 /parsehdlist.c
parent5724efe345ece2d55ec6e5439382b6f77d615408 (diff)
downloadrpmtools-16c28ac373777313a4360cfcde0078d424e6701e.tar
rpmtools-16c28ac373777313a4360cfcde0078d424e6701e.tar.gz
rpmtools-16c28ac373777313a4360cfcde0078d424e6701e.tar.bz2
rpmtools-16c28ac373777313a4360cfcde0078d424e6701e.tar.xz
rpmtools-16c28ac373777313a4360cfcde0078d424e6701e.zip
4.0-4mdk4.0.4
Diffstat (limited to 'parsehdlist.c')
-rw-r--r--parsehdlist.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/parsehdlist.c b/parsehdlist.c
index 7976434..16137eb 100644
--- a/parsehdlist.c
+++ b/parsehdlist.c
@@ -205,6 +205,7 @@ void print_help(void) {
" line, incompatible with interactive mode).\n"
" --compact - print compact provides, requires, conflicts, obsoletes flags.\n"
" --all - print all tags (incompatible with interactive mode).\n"
+ " --synthesis - print synthesis tags (incompatible with interactive mode).\n"
" --name - print tag name and rpm filename if needed.\n"
" --info - print tag name, serial and rpm filename if needed\n"
" --group - print tag group: group.\n"
@@ -294,6 +295,13 @@ int main(int argc, char **argv)
print_conflicts = 1;
print_obsoletes = 1;
print_prereqs = 1;
+ } else if (strcmp(argv[i], "--synthesis") == 0) {
+ print_sep = '@';
+ print_info = 1;
+ print_provides = 1;
+ print_requires = 1;
+ print_conflicts = 1;
+ print_obsoletes = 1;
} else {
fprintf(stderr, "parsehdlist: unknown option %s\n", argv[i]);
}