1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-12 23:50:15 +00:00

Delete useless help and optimize format

This commit is contained in:
Tw93
2025-10-14 19:43:59 +08:00
parent 05e3ec78dc
commit 35c4db2b81
6 changed files with 4 additions and 125 deletions

View File

@@ -1412,7 +1412,7 @@ perform_cleanup() {
}
main() {
# Parse args (only dry-run and help for minimal impact)
# Parse args (only dry-run and whitelist)
for arg in "$@"; do
case "$arg" in
"--dry-run" | "-n")
@@ -1423,19 +1423,6 @@ main() {
manage_whitelist
exit 0
;;
"--help" | "-h")
echo "Mole - Deeper system cleanup"
echo "Usage: clean.sh [options]"
echo ""
echo "Options:"
echo " --help, -h Show this help"
echo " --dry-run, -n Preview what would be cleaned without deleting"
echo " --whitelist Manage protected caches"
echo ""
echo "Interactive cleanup with smart password handling"
echo ""
exit 0
;;
esac
done