mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-31 11:01:22 -05:00
override: Don't fail completion on empty repos
This lets completion keep working after you type flatpak override --installation=empty Closes: #2585 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
31c7325382
commit
bb92a7abff
@@ -136,7 +136,8 @@ flatpak_complete_override (FlatpakCompletion *completion)
|
||||
g_option_context_add_group (context, flatpak_context_get_options (arg_context));
|
||||
|
||||
if (!flatpak_option_context_parse (context, options, &completion->argc, &completion->argv,
|
||||
FLATPAK_BUILTIN_FLAG_ONE_DIR, &dirs, NULL, NULL))
|
||||
FLATPAK_BUILTIN_FLAG_ONE_DIR | FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO,
|
||||
&dirs, NULL, NULL))
|
||||
return FALSE;
|
||||
|
||||
switch (completion->argc)
|
||||
|
||||
Reference in New Issue
Block a user