summaryrefslogtreecommitdiff
path: root/rsync_tmbackup.sh
diff options
context:
space:
mode:
authorLaurent Cozic <laurent22@users.noreply.github.com>2017-11-17 12:17:22 +0100
committerGitHub <noreply@github.com>2017-11-17 12:17:22 +0100
commitd13af58252b52cb6825799de14dd264810ad82a8 (patch)
treeee397124dc1b4297439a85b210eeda4c9916a4fb /rsync_tmbackup.sh
parentfd4a29e848ab728e774ba3d623c9cb7bb5dd0a6e (diff)
parent260715a9b9de082792082a4dea1b6cf9b2f31bf6 (diff)
Merge pull request #96 from thomas-mc-work/patch-1
Also detect single dashes as error
Diffstat (limited to 'rsync_tmbackup.sh')
-rwxr-xr-xrsync_tmbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh
index ceee3ee..104ee66 100755
--- a/rsync_tmbackup.sh
+++ b/rsync_tmbackup.sh
@@ -182,7 +182,7 @@ while :; do
EXCLUSION_FILE="$3"
break
;;
- -?*)
+ -*)
fn_log_error "Unknown option: \"$1\""
fn_log_info ""
fn_display_usage