From 05b2a0b2e3b9a3ef8f1ca9d3b351f2bf7cb84fa2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 18 Dec 2018 19:25:41 -0500 Subject: [PATCH] remote-ls: Do away with most -d compat handling It is not really worth preserving output 1-1 here, we can just update the tests to accept the new output. The one aspect we preserve here is that we don't show the origin by default when only listing a single remote. Closes: #2409 Approved by: alexlarsson --- app/flatpak-builtins-remote-ls.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/flatpak-builtins-remote-ls.c b/app/flatpak-builtins-remote-ls.c index 6af0b34e..e5a7d97b 100644 --- a/app/flatpak-builtins-remote-ls.c +++ b/app/flatpak-builtins-remote-ls.c @@ -488,10 +488,7 @@ flatpak_builtin_remote_ls (int argc, char **argv, GCancellable *cancellable, GEr } } - /* tweak some defaults, for compatibility */ - all_columns[1].def = !opt_show_details; /* application */ - all_columns[5].def = opt_show_details; /* ref */ - all_columns[6].def = !has_remote; /* origin */ + all_columns[6].def = !has_remote; columns = handle_column_args (all_columns, opt_show_details, opt_cols, error); if (columns == NULL)