summaryrefslogtreecommitdiff
path: root/src/ostree
diff options
context:
space:
mode:
authorHuijing Hei <hhei@redhat.com>2022-05-25 11:15:39 +0800
committerHuijing Hei <hhei@redhat.com>2022-05-25 11:15:39 +0800
commitb024ce5eeb4102912e6d7515dee46786a0e8ce8b (patch)
treee0ced4f4bca6ba77c1af6f3966676c53ac28b809 /src/ostree
parent606459ad2614d5fb2be775ca9076b15cab625597 (diff)
downloadostree-b024ce5eeb4102912e6d7515dee46786a0e8ce8b.tar.gz
Remove dup "--os=OSNAME" line in output of "ostree admin config-diff --help"
Small fix for https://github.com/ostreedev/ostree/issues/2594
Diffstat (limited to 'src/ostree')
-rw-r--r--src/ostree/ot-admin-builtin-diff.c1
1 files changed, 0 insertions, 1 deletions
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,