diff --git a/cmd/restic/cmd_dump.go b/cmd/restic/cmd_dump.go index 5ea3e318c..1a3ed4036 100644 --- a/cmd/restic/cmd_dump.go +++ b/cmd/restic/cmd_dump.go @@ -144,8 +144,6 @@ func (cmd CmdDump) Execute(args []string) error { tpe := args[0] switch tpe { - case "index": - return repo.Index().Dump(os.Stdout) case "indexes": return cmd.DumpIndexes() case "snapshots": @@ -172,13 +170,6 @@ func (cmd CmdDump) Execute(args []string) error { return err } - fmt.Printf("\nindex:\n") - - err = repo.Index().Dump(os.Stdout) - if err != nil { - return err - } - return nil default: return errors.Errorf("no such type %q", tpe)