From 6aa3faadfedeec9ae60f4dceed77f9e1d68a92a0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 13 Jan 2019 13:51:44 -0500 Subject: [PATCH] search: Use ALL_DIRS There is no good reason to leave out custom installations here. Closes: #2585 Approved by: alexlarsson --- app/flatpak-builtins-search.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/flatpak-builtins-search.c b/app/flatpak-builtins-search.c index ed4cd751..f8934601 100644 --- a/app/flatpak-builtins-search.c +++ b/app/flatpak-builtins-search.c @@ -281,7 +281,7 @@ flatpak_builtin_search (int argc, char **argv, GCancellable *cancellable, GError g_option_context_set_description (context, col_help); if (!flatpak_option_context_parse (context, options, &argc, &argv, - FLATPAK_BUILTIN_FLAG_STANDARD_DIRS | FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO, + FLATPAK_BUILTIN_FLAG_ALL_DIRS | FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO, &dirs, cancellable, error)) return FALSE; @@ -357,7 +357,8 @@ flatpak_complete_search (FlatpakCompletion *completion) context = g_option_context_new (""); if (!flatpak_option_context_parse (context, options, &completion->argc, &completion->argv, - FLATPAK_BUILTIN_FLAG_STANDARD_DIRS, NULL, NULL, NULL)) + FLATPAK_BUILTIN_FLAG_ALL_DIRS | FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO, + NULL, NULL, NULL)) return FALSE; flatpak_complete_options (completion, global_entries);