Skip to content

Commit

Permalink
Requested description
Browse files Browse the repository at this point in the history
  • Loading branch information
adespawn committed Feb 23, 2024
1 parent dbc592a commit b6b8afb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sinol_make/commands/doc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ def configure_subparser(self, subparser: argparse.ArgumentParser):
description='Compiles latex files to pdf. By default compiles all files in the `doc` directory.\n'
'You can also specify files to compile.')
parser.add_argument('--latex-compiler', dest='latex_compiler', choices=['auto', 'pdflatex', 'latex_dvi'],
help='Compiler used to compile documents (default: auto)', default='auto')
help='Compiler used to compile documents. Available options:\n'
' auto - uses the compiler based on the image types (default option).\n'
' pdflatex - uses pdflatex. Works with .png and .jpg images.\n'
' latex_dvi - uses latex and dvipdf. Works with .ps and .eps images.', default='auto')
parser.add_argument('files', type=str, nargs='*', help='files to compile')

def run(self, args: argparse.Namespace):
Expand Down

0 comments on commit b6b8afb

Please sign in to comment.