Fix debug functions

This commit is contained in:
Alexander Neumann 2015-06-24 20:00:01 +02:00
parent 6c2d6bfd11
commit d5020ac109
3 changed files with 3 additions and 3 deletions

View file

@ -30,6 +30,7 @@ install:
script:
- gox -verbose -os "${GOX_OS}" -tags "release" ./cmd/restic
- gox -verbose -os "${GOX_OS}" -tags "debug" ./cmd/restic.debug
- go run run_tests.go all.cov
- GOARCH=386 RESTIC_TEST_INTEGRATION=0 go test ./...
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true

View file

@ -16,14 +16,14 @@ import (
)
type CmdDump struct {
global *MainOptions
global *GlobalOptions
}
func init() {
_, err := parser.AddCommand("dump",
"dump data structures",
"The dump command dumps data structures from a repository as JSON documents",
&CmdDump{global: &mainOpts})
&CmdDump{global: &globalOpts})
if err != nil {
panic(err)
}

View file

@ -12,7 +12,6 @@ import (
"strconv"
"strings"
"sync"
"syscall"
)
var opts struct {