#!/bin/bash
#
# backup-script system for cloning systems using rsync
-# Copyright (c)2008-2011 Alexander Barton, alex@barton.de
+# Copyright (c)2008-2013 Alexander Barton, alex@barton.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
default_target=""
default_user="root"
-if [ "$1" == "-p" ]; then
+if [ "$1" == "-p" -o "$1" == "--progress" ]; then
VERBOSE=1
shift
fi
case "$1" in
"-"*)
- echo "Usage: $NAME [-p] [<system> [<system> [...]]]"
+ echo "Usage: $NAME [-p|--preogress] [<system> [<system> [...]]]"
exit 1
;;
esac