diff: Fix adding CLI options twice
This commit is contained in:
1 parent
43cbe8c1b1
commit
6e3cb828b6
1 file changed
-1
@@ -131,7 +131,6 @@ ostree_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError **
|
|||||||
g_autoptr(GPtrArray) added = NULL;
|
g_autoptr(GPtrArray) added = NULL;
|
||||||
|
|
||||||
context = g_option_context_new ("REV TARGETDIR - Compare directory TARGETDIR against revision REV");
|
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))
|
if (!ostree_option_context_parse (context, options, &argc, &argv, OSTREE_BUILTIN_FLAG_NONE, &repo, cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|||||||
Reference in new issue
Block a user