diff options
| author | Thomas McWork <thomas.mc.work@gmail.com> | 2017-11-17 10:20:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-17 10:20:50 +0100 |
| commit | 260715a9b9de082792082a4dea1b6cf9b2f31bf6 (patch) | |
| tree | ee397124dc1b4297439a85b210eeda4c9916a4fb /tests/BasicTest.php | |
| parent | fd4a29e848ab728e774ba3d623c9cb7bb5dd0a6e (diff) | |
Also detect single dashes as error
This also recognizes single dashes as invalid input:
rsync_tmbackup.sh - 1 2 3
Expected output: an error because it's unknown what the single `-` could mean
Actual output:
rsync_tmbackup: Safety check failed - the destination does not appear to be a backup folder or drive (marker file not found).
rsync_tmbackup: If it is indeed a backup folder, you may add the marker file by running the following command:
rsync_tmbackup:
rsync_tmbackup: mkdir -p -- "1" ; touch "1/backup.marker"
rsync_tmbackup:
Diffstat (limited to 'tests/BasicTest.php')
0 files changed, 0 insertions, 0 deletions
