mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-09 18:50:10 -04:00
app: Don't tab-complete on aliases
Fixes https://github.com/flatpak/flatpak/issues/4036
This commit is contained in:
committed by
Alexander Larsson
parent
dfde010a49
commit
2c4c84ffee
@@ -876,7 +876,7 @@ complete (int argc,
|
||||
FlatpakCommand *c = commands;
|
||||
while (c->name)
|
||||
{
|
||||
if (c->fn != NULL)
|
||||
if (c->fn != NULL && !c->deprecated)
|
||||
flatpak_complete_word (completion, "%s ", c->name);
|
||||
c++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user