From b024ce5eeb4102912e6d7515dee46786a0e8ce8b Mon Sep 17 00:00:00 2001 From: Huijing Hei Date: Wed, 25 May 2022 11:15:39 +0800 Subject: [PATCH] Remove dup "--os=OSNAME" line in output of "ostree admin config-diff --help" Small fix for https://github.com/ostreedev/ostree/issues/2594 --- src/ostree/ot-admin-builtin-diff.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ostree/ot-admin-builtin-diff.c b/src/ostree/ot-admin-builtin-diff.c index 167ec420..73e49d4e 100644 --- a/src/ostree/ot-admin-builtin-diff.c +++ b/src/ostree/ot-admin-builtin-diff.c @@ -39,7 +39,6 @@ gboolean ot_admin_builtin_diff (int argc, char **argv, OstreeCommandInvocation *invocation, GCancellable *cancellable, GError **error) { g_autoptr(GOptionContext) context = g_option_context_new (""); - g_option_context_add_main_entries (context, options, NULL); g_autoptr(OstreeSysroot) sysroot = NULL; if (!ostree_admin_option_context_parse (context, options, &argc, &argv,