From fd472cb59d3a2807bddc090c4b5fed3b9064c06a Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 25 Apr 2015 11:06:32 +0200 Subject: [PATCH] Use short ID for init --- cmd/restic/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/main.go b/cmd/restic/main.go index 3ca72809c..cc282bdb2 100644 --- a/cmd/restic/main.go +++ b/cmd/restic/main.go @@ -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.")