mirror of
https://github.com/restic/restic.git
synced 2025-03-30 00:00:14 +01:00
restore: fix help message on invalid OverwriteBehavior
This commit is contained in:
parent
1221453d08
commit
d60acc5697
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue