mirror of
https://github.com/restic/restic.git
synced 2025-08-22 06:58:51 +00:00
restore: fix help message on invalid OverwriteBehavior
This commit is contained in:
@@ -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