document --open-at=toc-href:

This commit is contained in:
Kovid Goyal 2019-04-18 10:53:56 +05:30
parent 4cdf76309b
commit 71d13c9482
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1228,7 +1228,9 @@ def config(defaults=None):
help=_('The position at which to open the specified book. The position is ' help=_('The position at which to open the specified book. The position is '
'a location as displayed in the top left corner of the viewer. ' 'a location as displayed in the top left corner of the viewer. '
'Alternately, you can use the form toc:something and it will open ' 'Alternately, you can use the form toc:something and it will open '
'at the location of the first Table of Contents entry that contains the string "something".')) 'at the location of the first Table of Contents entry that contains '
'the string "something". You can also use toc-href:something '
'to go to a location matching an internal file/id of the book.'))
c.add_opt('continue_reading', ['--continue'], default=False, c.add_opt('continue_reading', ['--continue'], default=False,
help=_('Continue reading at the previously opened book')) help=_('Continue reading at the previously opened book'))