Correct string for catting data blobs

This commit is contained in:
Alexander Neumann 2015-03-22 15:42:46 +01:00
parent 1c0e76ccd6
commit 5257c54585
1 changed files with 2 additions and 2 deletions

View File

@ -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 {