mirror of
https://github.com/flatpak/flatpak.git
synced 2026-09-27 23:56:45 -04:00
This adds support for fuzzy matching ref names (AKA "typo helper") to the uninstall command to mirror what the install command has. In short, this means you can do "flatpak uninstall gedit" instead of "flatpak uninstall org.gnome.gedit". Flatpak will prompt you to choose between similarly named installed refs, and will only make the choice for you if --assumeyes was used and there's only one match. Note that this commit does have the side effect that if there are multiple matching refs with the same ID (e.g. with different branches or in different installations) you are prompted to choose between them. Previously you were shown an error message. Closes: #2330 Approved by: matthiasclasen