Use correct name in usage message

This commit is contained in:
Jeffrey Serio 2024-12-04 13:11:02 -06:00
parent 0e906576b1
commit ef07836952
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ from urllib.request import urlretrieve
def main(): def main():
if len(sys.argv) != 2: if len(sys.argv) != 2:
exit("Usage: dl_wp_pdf ARTICLE_NAME") exit("Usage: dl-wp-pdf ARTICLE_NAME")
article = sys.argv[1] article = sys.argv[1]
url = f"https://en.wikipedia.org/api/rest_v1/page/pdf/{article}" url = f"https://en.wikipedia.org/api/rest_v1/page/pdf/{article}"

View File

@ -1,6 +1,6 @@
[project] [project]
name = "dl-wp-pdf" name = "dl-wp-pdf"
version = "0.9" version = "0.10"
authors = [ authors = [
{ name="Jeffrey Serio", email="hyperreal@fedoraproject.org" }, { name="Jeffrey Serio", email="hyperreal@fedoraproject.org" },
] ]