From 2ee4b87c55faf61cb4a681cc33fde905d0fa8a7e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 23 Apr 2019 15:47:28 +0200 Subject: [PATCH] remote-ls: Only show the origin column if non-unique Most of the time it is the same because you specified the remote in the command anyway. Closes: #2852 Approved by: alexlarsson --- app/flatpak-builtins-remote-ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flatpak-builtins-remote-ls.c b/app/flatpak-builtins-remote-ls.c index 51afa31d..969f073c 100644 --- a/app/flatpak-builtins-remote-ls.c +++ b/app/flatpak-builtins-remote-ls.c @@ -62,7 +62,7 @@ static Column all_columns[] = { { "version", N_("Version"), N_("Show the version"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 1 }, { "branch", N_("Branch"), N_("Show the branch"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 0, 1 }, { "arch", N_("Arch"), N_("Show the architecture"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 0, 0 }, - { "origin", N_("Origin"), N_("Show the origin remote"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 1 }, + { "origin", N_("Origin"), N_("Show the origin remote"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 1, 1 }, { "ref", N_("Ref"), N_("Show the ref"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 0 }, { "commit", N_("Commit"), N_("Show the active commit"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 0 }, { "runtime", N_("Runtime"), N_("Show the runtime"), 1, FLATPAK_ELLIPSIZE_MODE_NONE, 1, 0 },