Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_parser.h')
-rw-r--r--src/cmd_parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd_parser.h b/src/cmd_parser.h
index 3133741..71a160a 100644
--- a/src/cmd_parser.h
+++ b/src/cmd_parser.h
@@ -26,6 +26,10 @@
#define DEFAULT_CHANGELOG_LIMIT 10
+typedef enum {
+ CR_ARG_DUP_NEVRA_KEEP_ALL = 0,
+ CR_ARG_DUP_NEVRA_KEEP_LAST,
+} CmdDupNevra;
/**
* Command line options
@@ -142,6 +146,7 @@ struct CmdOptions {
gboolean delayed_dump; /*!< Load _all_ the packages (parallel workers)
first, and then dump the database. This
allows additional package filtering. */
+ CmdDupNevra nevra_duplicates; /*!< What to do about duplicated NEVRA */
};
/**