snap-sync: improved parse_params
- backupdir - target - uuid Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -400,11 +400,11 @@ parse_params () {
|
|||||||
subvolid_cmdline=${1#*=}
|
subvolid_cmdline=${1#*=}
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--target=*|TARGET=*)
|
--target=*|--TARGET=*)
|
||||||
target_cmdline=${1#*=}
|
target_cmdline=${1#*=}
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--uuid=*|UUID=*)
|
--uuid=*|--UUID=*)
|
||||||
uuid_cmdline=${1#*=}
|
uuid_cmdline=${1#*=}
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
@@ -1026,6 +1026,7 @@ $progname $version
|
|||||||
Usage: $progname [options]
|
Usage: $progname [options]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
-b, --backupdir <prefix> backupdir is a relative path that will be appended to target backup-root
|
||||||
-d, --description <desc> Change the snapper description. Default: "latest incremental backup"
|
-d, --description <desc> Change the snapper description. Default: "latest incremental backup"
|
||||||
--label-finished <desc> snapper description tagging successful jobs. Default: "snap-sync backup"
|
--label-finished <desc> snapper description tagging successful jobs. Default: "snap-sync backup"
|
||||||
--label-running <desc> snapper description tagging active jobs. Default: "snap-sync in progress"
|
--label-running <desc> snapper description tagging active jobs. Default: "snap-sync in progress"
|
||||||
|
|||||||
Reference in New Issue
Block a user