mirror of
https://github.com/restic/restic.git
synced 2026-10-31 12:35:42 +00:00
restore: fix help message on invalid OverwriteBehavior
This commit is contained in:
1 parent
1221453d08
commit
d60acc5697
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user