Merge pull request #2616 from HuijingHei/dup-osname
Remove dup "--os=OSNAME" line in output of "ostree admin config-diff --help"
This commit is contained in:
commit
cdfc2ff5bf
|
|
@ -87,22 +87,22 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeCommandInvocation *invocat
|
|||
}
|
||||
|
||||
if (opt_kernel_proc_cmdline && opt_kernel_arg_none)
|
||||
{
|
||||
ot_util_usage_error (context, "Can't specify both --karg-proc-cmdline and --karg-none", error);
|
||||
return FALSE;
|
||||
}
|
||||
{
|
||||
ot_util_usage_error (context, "Can't specify both --karg-proc-cmdline and --karg-none", error);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (opt_kernel_arg_none && opt_kernel_argv_delete)
|
||||
{
|
||||
ot_util_usage_error (context, "Can't specify both --karg-none and --karg-delete", error);
|
||||
return FALSE;
|
||||
}
|
||||
{
|
||||
ot_util_usage_error (context, "Can't specify both --karg-none and --karg-delete", error);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (opt_no_merge && opt_kernel_argv_delete)
|
||||
{
|
||||
ot_util_usage_error (context, "Can't specify both --no-merge and --karg-delete", error);
|
||||
return FALSE;
|
||||
}
|
||||
{
|
||||
ot_util_usage_error (context, "Can't specify both --no-merge and --karg-delete", error);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
const char *refspec = argv[1];
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue