From aad7ccbf37a3c5c1656c828772eb6da03e6a3d7a Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 26 Jan 2017 10:15:48 +0100 Subject: [PATCH] Make flatpak list show both apps and runtimes by default This makes more sense and seems what people expect, as per: https://github.com/flatpak/flatpak/issues/490 https://github.com/flatpak/flatpak/issues/505 --- app/flatpak-builtins-list.c | 5 ++++- doc/flatpak-list.xml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/flatpak-builtins-list.c b/app/flatpak-builtins-list.c index 600001df0..6aa9f9601 100644 --- a/app/flatpak-builtins-list.c +++ b/app/flatpak-builtins-list.c @@ -361,7 +361,10 @@ flatpak_builtin_list (int argc, char **argv, GCancellable *cancellable, GError * return usage_error (context, _("Too many arguments"), error); if (!opt_app && !opt_runtime) - opt_app = TRUE; + { + opt_app = TRUE; + opt_runtime = TRUE; + } if (!print_installed_refs (opt_app, opt_runtime, opt_system, diff --git a/doc/flatpak-list.xml b/doc/flatpak-list.xml index f679cdea3..8dc4afbc6 100644 --- a/doc/flatpak-list.xml +++ b/doc/flatpak-list.xml @@ -47,7 +47,7 @@ options to change this. - By default this lists the installed apps, but you can + By default this lists both installed apps and runtime, but you can change this by using the --app or --runtime option.