diff: Fix adding CLI options twice

This commit is contained in:
Matthew Barnes 2015-06-18 17:58:13 -04:00
parent 43cbe8c1b1
commit 6e3cb828b6
1 changed files with 0 additions and 1 deletions

View File

@ -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;