mirror of https://github.com/dswd/zvault
Fixed restore --tar
This commit is contained in:
parent
d4c0964815
commit
580a2d2351
|
@ -316,8 +316,7 @@ pub fn parse() -> Result<(LogLevel, Arguments), ErrorCode> {
|
|||
.arg(Arg::from_usage("--tar 'Restore in form of a tar file'"))
|
||||
.arg(Arg::from_usage("<BACKUP> 'The backup/subtree path, [repository]::backup[::subtree]'")
|
||||
.validator(|val| validate_repo_path(val, true, Some(true), None)))
|
||||
.arg(Arg::from_usage("<DST> 'Destination path for backup'")
|
||||
.validator(validate_existing_path)))
|
||||
.arg(Arg::from_usage("<DST> 'Destination path for backup'")))
|
||||
.subcommand(SubCommand::with_name("remove").aliases(&["rm", "delete", "del"]).about("Remove a backup or a subtree")
|
||||
.arg(Arg::from_usage("-f --force 'Remove multiple backups in a backup folder'"))
|
||||
.arg(Arg::from_usage("<BACKUP> 'The backup/subtree path, [repository]::backup[::subtree]'")
|
||||
|
|
Loading…
Reference in New Issue