From: Huijing Hei Date: Wed, 25 May 2022 03:15:39 +0000 (+0800) Subject: Remove dup "--os=OSNAME" line in output of "ostree admin config-diff --help" X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~12^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b024ce5eeb4102912e6d7515dee46786a0e8ce8b;p=ostree.git Remove dup "--os=OSNAME" line in output of "ostree admin config-diff --help" Small fix for https://github.com/ostreedev/ostree/issues/2594 --- 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,