mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-30 02:21:17 -05:00
Disable fancy output for --verbose
The spew of verbose messages makes a mess of any attempt at formatted output, so lets not try. Just disable fancy output when --verbose or --ostree-verbose is used. Closes: #2371 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
ba92cb7126
commit
bc652bee99
@@ -305,6 +305,9 @@ flatpak_option_context_parse (GOptionContext *context,
|
||||
exit (EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
if (opt_verbose > 0 || opt_ostree_verbose)
|
||||
flatpak_disable_fancy_output ();
|
||||
|
||||
if (!(flags & FLATPAK_BUILTIN_FLAG_NO_DIR))
|
||||
{
|
||||
dirs = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
|
||||
|
||||
Reference in New Issue
Block a user