Use short ID for init

This commit is contained in:
Alexander Neumann 2015-04-25 11:06:32 +02:00
parent 19486987b0
commit fd472cb59d

View file

@ -80,7 +80,7 @@ func (cmd CmdInit) Execute(args []string) error {
os.Exit(1)
}
fmt.Printf("created restic backend %v at %s\n", s.ID(), opts.Repo)
fmt.Printf("created restic backend %v at %s\n", s.ID()[:10], opts.Repo)
fmt.Println("Please note that knowledge of your password is required to access the repository.")
fmt.Println("Losing your password means that your data is irrecoverably lost.")