From ba84c2b51b2c14a5a97a575b9019d0057bf88782 Mon Sep 17 00:00:00 2001 From: Nikola Pajkovsky Date: Thu, 8 Dec 2011 16:53:40 +0100 Subject: [PATCH 09/11] bodhi: sync enum with parse_opt Signed-off-by: Nikola Pajkovsky --- src/plugins/abrt-bodhi.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/plugins/abrt-bodhi.c b/src/plugins/abrt-bodhi.c index a2c1445..5416a0a 100644 --- a/src/plugins/abrt-bodhi.c +++ b/src/plugins/abrt-bodhi.c @@ -110,7 +110,7 @@ } */ -static const char *bodhi_url = "https://admin.fedoraproject.org/updates/"; +static const char *bodhi_url = "https://admin.fedoraproject.org/updates"; struct bodhi { char *nvr; @@ -356,8 +356,11 @@ int main(int argc, char **argv) abrt_init(argv); enum { OPT_v = 1 << 0, - OPT_b = 1 << 1, - OPT_r = 1 << 2, + OPT_d = 1 << 1, + OPT_g = 1 << 2, + OPT_b = 1 << 3, + OPT_u = 1 << 4, + OPT_r = 1 << 5, }; const char *bugs = NULL, *release = NULL, *dump_dir_path = "."; -- 1.7.7.3