[ostree] diff: Fix adding CLI options twice



commit 6e3cb828b699ac5c1ae75aceadd544dfb08d8ddb
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Jun 18 17:58:13 2015 -0400

    diff: Fix adding CLI options twice

 src/ostree/ot-builtin-diff.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c
index fb74423..2a27f5d 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]