mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Clarify use of OPF in calibredb set_metadata
This commit is contained in:
parent
65e31eee12
commit
e7bf1c7b7d
@ -543,13 +543,14 @@ def do_set_metadata(db, id, stream):
|
|||||||
def set_metadata_option_parser():
|
def set_metadata_option_parser():
|
||||||
return get_parser(_(
|
return get_parser(_(
|
||||||
'''
|
'''
|
||||||
%prog set_metadata [options] id /path/to/metadata.opf
|
%prog set_metadata [options] id [/path/to/metadata.opf]
|
||||||
|
|
||||||
Set the metadata stored in the calibre database for the book identified by id
|
Set the metadata stored in the calibre database for the book identified by id
|
||||||
from the OPF file metadata.opf. id is an id number from the list command. You
|
from the OPF file metadata.opf. id is an id number from the list command. You
|
||||||
can get a quick feel for the OPF format by using the --as-opf switch to the
|
can get a quick feel for the OPF format by using the --as-opf switch to the
|
||||||
show_metadata command. You can also set the metadata of individual fields with
|
show_metadata command. You can also set the metadata of individual fields with
|
||||||
the --field option.
|
the --field option. If you use the --field option, there is no need to specify
|
||||||
|
an OPF file.
|
||||||
'''))
|
'''))
|
||||||
|
|
||||||
def command_set_metadata(args, dbpath):
|
def command_set_metadata(args, dbpath):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user