mirror of
https://github.com/restic/restic.git
synced 2026-11-24 07:13:50 +00:00
Introduce Verbosef
This commit is contained in:
1 parent
4388474cdc
commit
a43733d552
5 files changed
+20
-23
No files matched your search
@@ -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