From 530b0217a86b2c2836260dbc514a0cb4c9d721e6 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Thu, 4 Aug 2022 09:27:26 +0200 Subject: [PATCH] sync-view.sh: move comment to right place --- bash/sync-view.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bash/sync-view.sh b/bash/sync-view.sh index 7493636..d0fa268 100755 --- a/bash/sync-view.sh +++ b/bash/sync-view.sh @@ -207,6 +207,10 @@ parse_opts() { shift ;; '-c'|'--config') + # The configuration file contains the variable SOURCEDIR, which will allow + # to find the relative path of TARGET in backup tree. + # it may also contain BACKUPDIR variable, which the local root of backup + # tree. tmp_config="$2" shift ;; @@ -245,11 +249,7 @@ parse_opts() { esac shift done - # Now check remaining arguments (configuration file and searched file). - # The configuration file contains the variable SOURCEDIR, which will allow - # to find the relative path of TARGET in backup tree. - # it may also contain BACKUPDIR variable, which the local root of backup - # tree. + # Now check remaining argument (searched file). if (( $# != 1 )); then usage exit 1