From 6e3cb828b699ac5c1ae75aceadd544dfb08d8ddb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 18 Jun 2015 17:58:13 -0400 Subject: [PATCH] diff: Fix adding CLI options twice --- src/ostree/ot-builtin-diff.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c index fb744239..2a27f5d2 100644 --- a/src/ostree/ot-builtin-diff.c +++ b/src/ostree/ot-builtin-diff.c @@ -131,7 +131,6 @@ ostree_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError ** g_autoptr(GPtrArray) added = NULL; context = g_option_context_new ("REV TARGETDIR - Compare directory TARGETDIR against revision REV"); - g_option_context_add_main_entries (context, options, NULL); if (!ostree_option_context_parse (context, options, &argc, &argv, OSTREE_BUILTIN_FLAG_NONE, &repo, cancellable, error)) goto out;