From 5257c54585e6f8164829ed01804f736dec930947 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 22 Mar 2015 15:42:46 +0100 Subject: [PATCH] Correct string for catting data blobs --- cmd/restic/cmd_cat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/restic/cmd_cat.go b/cmd/restic/cmd_cat.go index 464f556cc..e2d8112b6 100644 --- a/cmd/restic/cmd_cat.go +++ b/cmd/restic/cmd_cat.go @@ -23,7 +23,7 @@ func init() { } func (cmd CmdCat) Usage() string { - return "[blob|tree|snapshot|key|lock] ID" + return "[data|tree|snapshot|key|lock] ID" } func (cmd CmdCat) Execute(args []string) error { @@ -54,7 +54,7 @@ func (cmd CmdCat) Execute(args []string) error { } switch tpe { - case "blob": + case "data": // try storage id data, err := s.LoadID(backend.Data, id) if err == nil {