From: Bastian Dehn Date: Fri, 13 Sep 2019 21:18:29 +0000 (+0200) Subject: change: lizenz hinweis generelle ausgabe X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=2b5414f7452be848a96529f477eb66d14c0c5370;p=simple-backup.git change: lizenz hinweis generelle ausgabe --- diff --git a/backup b/backup index fac3344..a52dc82 100755 --- a/backup +++ b/backup @@ -5,8 +5,6 @@ ## @brief Anzeige von der Hilfe usage() { - head -2 license - echo echo "backup [full | check | help]" echo echo "full: Backup ohne Hardlinks auf das vorherige Backup" @@ -452,6 +450,8 @@ main() LIGHTPURPLE="\e[1;35m" LIGHTGREEN="\e[1;32m" RESET="\e[0m" + head -2 license + echo ReadArguments $* SetDefaultVariables diff --git a/restore b/restore index 3712790..1ff7f12 100755 --- a/restore +++ b/restore @@ -5,8 +5,6 @@ ## @brief Zeigt die Hilfe an useage() { - head -2 license - echo echo "restore -d -n -r -p " echo echo " -d Datum von der Sicherung" @@ -110,6 +108,8 @@ RestoreData() ## @brief Ablauf des Skripts main() { + head -2 license + echo SetDefaultVariables ReadArguments $* RestoreData