mirror of
https://codeberg.org/hyperreal/dl-wp-pdf
synced 2025-01-18 06:23:45 +01:00
Use correct name in usage message
This commit is contained in:
parent
0e906576b1
commit
ef07836952
@ -5,7 +5,7 @@ from urllib.request import urlretrieve
|
||||
|
||||
def main():
|
||||
if len(sys.argv) != 2:
|
||||
exit("Usage: dl_wp_pdf ARTICLE_NAME")
|
||||
exit("Usage: dl-wp-pdf ARTICLE_NAME")
|
||||
article = sys.argv[1]
|
||||
|
||||
url = f"https://en.wikipedia.org/api/rest_v1/page/pdf/{article}"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "dl-wp-pdf"
|
||||
version = "0.9"
|
||||
version = "0.10"
|
||||
authors = [
|
||||
{ name="Jeffrey Serio", email="hyperreal@fedoraproject.org" },
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user