diff options
Diffstat (limited to 'cmd/bolt/main.go')
-rw-r--r-- | cmd/bolt/main.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/bolt/main.go b/cmd/bolt/main.go index 6b28060..bc5fadb 100644 --- a/cmd/bolt/main.go +++ b/cmd/bolt/main.go @@ -61,6 +61,14 @@ func NewApp() *cli.App { Pages(path) }, }, + { + Name: "check", + Usage: "Performs a consistency check on the database", + Action: func(c *cli.Context) { + path := c.Args().Get(0) + Check(path) + }, + }, } return app } |