This commit is contained in:
Kovid Goyal 2009-02-08 20:26:01 -08:00
parent cbdf0ea09e
commit 9c2a4e36ec

View File

@ -31,21 +31,21 @@ from calibre import prints
def config(): def config():
c = StringConfig('') c = StringConfig('')
c.add_opt('title', ['-t', '--title'], c.add_opt('title', ['-t', '--title'],
help=_('Set the title.')) help=_('Set the title.'))
c.add_opt('authors', ['-a', '--authors'], c.add_opt('authors', ['-a', '--authors'],
help=_('Set the authors. Multiple authors should be separated ' help=_('Set the authors. Multiple authors should be separated '
'by the & character. Author names should be in the order ' 'by the & character. Author names should be in the order '
'Firstname Lastname.')) 'Firstname Lastname.'))
c.add_opt('title_sort', ['--title-sort'], c.add_opt('title_sort', ['--title-sort'],
help=_('The version of the title to be used for sorting. ' help=_('The version of the title to be used for sorting. '
'If unspecified, and the title is specified, it will ' 'If unspecified, and the title is specified, it will '
'be auto-generated from the title.')) 'be auto-generated from the title.'))
c.add_opt('author_sort', ['--author-sort'], c.add_opt('author_sort', ['--author-sort'],
help=_('String to be used when sorting by author. ' help=_('String to be used when sorting by author. '
'If unspecified, and the author(s) are specified, it will ' 'If unspecified, and the author(s) are specified, it will '
'be auto-generated from the author(s).')) 'be auto-generated from the author(s).'))
c.add_opt('cover', ['--cover'], c.add_opt('cover', ['--cover'],
help=_('Set the cover to the specified file.')) help=_('Set the cover to the specified file.'))
c.add_opt('comments', ['-c', '--comments'], c.add_opt('comments', ['-c', '--comments'],
help=_('Set the ebook description.')) help=_('Set the ebook description.'))
@ -195,4 +195,4 @@ def main(args=sys.argv):
return 0 return 0
if __name__ == '__main__': if __name__ == '__main__':
sys.exit(main()) sys.exit(main())