mirror of
https://github.com/restic/restic.git
synced 2025-03-26 19:00:52 +00:00
restore: fix help message on invalid OverwriteBehavior
This commit is contained in:
parent
1221453d08
commit
d60acc5697
@ -72,7 +72,7 @@ func (c *OverwriteBehavior) Set(s string) error {
|
||||
*c = OverwriteNever
|
||||
default:
|
||||
*c = OverwriteInvalid
|
||||
return fmt.Errorf("invalid overwrite behavior %q, must be one of (always|if-newer|never)", s)
|
||||
return fmt.Errorf("invalid overwrite behavior %q, must be one of (always|if-changed|if-newer|never)", s)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user