diff options
author | Phaedrus Leeds <mwleeds@protonmail.com> | 2021-11-17 18:18:44 -0800 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2021-11-18 15:11:05 +0100 |
commit | 2c4c84ffee1a7b0c73f5af9dec02f63e6e1ef2ca (patch) | |
tree | 962fad37cbdf24cde088e3a7221c0ef8d11c2534 | |
parent | dfde010a49ed02c966ee9050e8ea4dc75033bdb6 (diff) | |
download | flatpak-2c4c84ffee1a7b0c73f5af9dec02f63e6e1ef2ca.tar.gz |
app: Don't tab-complete on aliases
Fixes https://github.com/flatpak/flatpak/issues/4036
-rw-r--r-- | app/flatpak-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/flatpak-main.c b/app/flatpak-main.c index ae2b6fc1..bbf18490 100644 --- a/app/flatpak-main.c +++ b/app/flatpak-main.c @@ -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++; } |