mirror of
https://github.com/restic/restic.git
synced 2025-10-28 14:52:07 +00:00
Introduce Verbosef
This commit is contained in:
@@ -32,11 +32,11 @@ func (cmd CmdInit) Execute(args []string) error {
|
||||
cmd.global.Exitf(1, "creating key in backend at %s failed: %v\n", cmd.global.Repo, err)
|
||||
}
|
||||
|
||||
cmd.global.Printf("created restic backend %v at %s\n", s.Config.ID[:10], cmd.global.Repo)
|
||||
cmd.global.Printf("\n")
|
||||
cmd.global.Printf("Please note that knowledge of your password is required to access\n")
|
||||
cmd.global.Printf("the repository. Losing your password means that your data is\n")
|
||||
cmd.global.Printf("irrecoverably lost.\n")
|
||||
cmd.global.Verbosef("created restic backend %v at %s\n", s.Config.ID[:10], cmd.global.Repo)
|
||||
cmd.global.Verbosef("\n")
|
||||
cmd.global.Verbosef("Please note that knowledge of your password is required to access\n")
|
||||
cmd.global.Verbosef("the repository. Losing your password means that your data is\n")
|
||||
cmd.global.Verbosef("irrecoverably lost.\n")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user