From 3c5e8c0291dfe73427ed7df59251f8686a4d5d28 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Mon, 4 Oct 2010 10:19:09 +0100 Subject: [PATCH] Fix recover_database to use the right options parser --- src/calibre/library/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/library/cli.py b/src/calibre/library/cli.py index e3e52b516d..cd8305b059 100644 --- a/src/calibre/library/cli.py +++ b/src/calibre/library/cli.py @@ -971,14 +971,14 @@ def restore_database_option_parser(): files in each directory of the calibre library. This is useful if your metadata.db file has been corrupted. - WARNING: This completely regenerates your datbase. You will + WARNING: This completely regenerates your database. You will lose stored per-book conversion settings and custom recipes. ''')) return parser def command_restore_database(args, dbpath): from calibre.library.restore import Restore - parser = saved_searches_option_parser() + parser = restore_database_option_parser() opts, args = parser.parse_args(args) if len(args) != 0: parser.print_help()