update: Use ALL_DIRS for completion

It does not change the outcome, but it is nicer
to use the same value in coomplete as for the
main function.

Closes: #2534
Approved by: alexlarsson
This commit is contained in:
Matthias Clasen
2019-01-09 00:10:55 -05:00
committed by Atomic Bot
parent c58e21f30d
commit eb950c6502

View File

@@ -288,7 +288,7 @@ flatpak_complete_update (FlatpakCompletion *completion)
context = g_option_context_new ("");
if (!flatpak_option_context_parse (context, options, &completion->argc, &completion->argv,
FLATPAK_BUILTIN_FLAG_STANDARD_DIRS, &dirs, NULL, NULL))
FLATPAK_BUILTIN_FLAG_ALL_DIRS, &dirs, NULL, NULL))
return FALSE;
kinds = flatpak_kinds_from_bools (opt_app, opt_runtime);