render.py: fix typo (#5206)
This commit is contained in:
@@ -117,7 +117,7 @@ def main(loc, colorscheme):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
# Parsing the arguments
|
# Parsing the arguments
|
||||||
parser = argparse.ArgumentParser(prog="tdlr-pages-to-PDF", description="A Python script to generate a single PDF document with all the `tldr` pages.")
|
parser = argparse.ArgumentParser(prog="tldr-pages-to-pdf", description="A Python script to generate a single PDF document with all the `tldr` pages.")
|
||||||
parser.add_argument("dir_path", help = "Path to the 'pages' directory")
|
parser.add_argument("dir_path", help = "Path to the 'pages' directory")
|
||||||
parser.add_argument("-c", "--color", choices=["solarized-light", "solarized-dark", "basic"], default="basic", help="Color scheme of the PDF")
|
parser.add_argument("-c", "--color", choices=["solarized-light", "solarized-dark", "basic"], default="basic", help="Color scheme of the PDF")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
Reference in New Issue
Block a user