diff --git a/heavy_script.sh b/heavy_script.sh index 8f38bfad..41a001f4 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -34,6 +34,7 @@ fi } + help(){ [[ $help == "true" ]] && clear -x echo "Basic Utilities" @@ -392,6 +393,9 @@ do delete-backup) deleteBackup="true" ;; + updated) + self_updated="true" + ;; *) echo -e "Invalid Option \"--$OPTARG\"\n" && help exit @@ -466,4 +470,4 @@ done [[ "$number_of_backups" -ge 1 ]] && backup [[ "$sync" == "true" ]] && sync [[ "$update_all_apps" == "true" || "$update_apps" == "true" ]] && update_apps -[[ "$prune" == "true" ]] && prune \ No newline at end of file +[[ "$prune" == "true" ]] && prune