mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 19:09:43 +00:00
chore: Remove --force-rescan option from uninstall command and script.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# Usage:
|
||||
# uninstall.sh # Launch interactive uninstaller
|
||||
# uninstall.sh --force-rescan # Rescan apps and refresh cache
|
||||
# uninstall.sh # Launch interactive uninstaller
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -370,14 +370,12 @@ trap cleanup EXIT INT TERM
|
||||
|
||||
main() {
|
||||
local force_rescan=false
|
||||
# Parse global flags locally if needed (currently none specific to uninstall)
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
"--debug")
|
||||
export MO_DEBUG=1
|
||||
;;
|
||||
"--force-rescan")
|
||||
force_rescan=true
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user