]> arthur.barton.de Git - backup-script.git/commitdiff
backup-status: Reformat usage information
authorAlexander Barton <alex@barton.de>
Mon, 5 Oct 2015 08:40:58 +0000 (10:40 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 5 Oct 2015 08:40:58 +0000 (10:40 +0200)
bin/backup-status

index f0450242beb491c75b015ff6e8ea0d7ec40290d9..4837c7d278f936d9e768136fb70c7823ca13792c 100755 (executable)
@@ -41,8 +41,13 @@ for conf in \
 done
 
 Usage() {
-       echo "Usage: $NAME [-l|--latest] [-q|--quick] [<system> [<system> [...]]]"
-       echo "       $NAME {-r|--running}"
+       echo "Usage: $NAME [--errors|--latest] [--quick] [<system> [<system> [...]]]"
+       echo "       $NAME --running"
+       echo
+       echo "  --latest, -l    Only show latest backup generations."
+       echo "  --quick, -q     Don't calculate backup sizes."
+       echo "  --running, -r   Check if an \"backup-script\" task is currently running."
+       echo
        exit 2
 }