Commit cfb85ead authored by ale's avatar ale

Fix restore-db command name

parent 4b2ef00a
......@@ -40,11 +40,11 @@ func (c *dumpCommand) Execute(ctx context.Context, f *flag.FlagSet, _ ...interfa
// Restore the database.
type restoreCommand struct{}
func (c *restoreCommand) Name() string { return "dump-db" }
func (c *restoreCommand) Synopsis() string { return "Dump the database" }
func (c *restoreCommand) Name() string { return "restore-db" }
func (c *restoreCommand) Synopsis() string { return "Restore the database" }
func (c *restoreCommand) Usage() string {
return `dump-db
Dump the database.
return `restore-db
Restore the database.
Requires exclusive access to the db, so the HTTP server must not be
running at the same time.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment