fix error language
This commit is contained in:
parent
f7313b255a
commit
b43bacb7ac
@ -75,7 +75,7 @@ def main():
|
|||||||
return
|
return
|
||||||
|
|
||||||
if not args.url:
|
if not args.url:
|
||||||
print("Specify an URL. Use --help for help.")
|
print("Specify an URL. See --help")
|
||||||
return
|
return
|
||||||
|
|
||||||
# create the object with or without the user_agent
|
# create the object with or without the user_agent
|
||||||
@ -97,9 +97,7 @@ def main():
|
|||||||
elif args.get:
|
elif args.get:
|
||||||
_get(obj, args)
|
_get(obj, args)
|
||||||
else:
|
else:
|
||||||
print("Usage: waybackpy [OPTIONS] --url [URL...] --user_agent [USER AGENT].\
|
print("Usage: waybackpy --url [URL] --user_agent [USER AGENT] [OPTIONS]. See --help")
|
||||||
\nwaybackpy: error: You must provide one URL. See --help\
|
|
||||||
\nLatest docs and version available at https://github.com/akamhy/waybackpy")
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user