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:
15
bin/clean.sh
15
bin/clean.sh
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user