mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-12-11 07:35:14 -05:00
Fix the help text for --sort-by
This commit is contained in:
parent
8b2ae35fae
commit
b47670d4f8
@ -284,7 +284,11 @@ List the books available in the calibre database.
|
|||||||
'--sort-by',
|
'--sort-by',
|
||||||
default=None,
|
default=None,
|
||||||
help=_(
|
help=_(
|
||||||
'The field by which to sort the results. You can specify multiple fields by separating them with commas.\nAvailable fields: {0}\nDefault: {1}'
|
'The field by which to sort the results. You can specify multiple fields by'
|
||||||
|
' separating them with commas.\nAvailable fields: {0}\nDefault: {1}.'
|
||||||
|
' In addition to the builtin fields above, custom fields are'
|
||||||
|
' also available as *field_name, for example, for a custom field'
|
||||||
|
' #rating, use the name: *rating'
|
||||||
).format(', '.join(sorted(FIELDS)), 'id')
|
).format(', '.join(sorted(FIELDS)), 'id')
|
||||||
)
|
)
|
||||||
parser.add_option(
|
parser.add_option(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user