From b43bacb7acf8bcf819f6bb3c0c2c87b3e34709cb Mon Sep 17 00:00:00 2001 From: Akash <64683866+akamhy@users.noreply.github.com> Date: Wed, 22 Jul 2020 17:25:15 +0530 Subject: [PATCH] fix error language --- waybackpy/cli.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/waybackpy/cli.py b/waybackpy/cli.py index 39637de..348fab8 100644 --- a/waybackpy/cli.py +++ b/waybackpy/cli.py @@ -75,7 +75,7 @@ def main(): return if not args.url: - print("Specify an URL. Use --help for help.") + print("Specify an URL. See --help") return # create the object with or without the user_agent @@ -97,9 +97,7 @@ def main(): elif args.get: _get(obj, args) else: - print("Usage: waybackpy [OPTIONS] --url [URL...] --user_agent [USER AGENT].\ - \nwaybackpy: error: You must provide one URL. See --help\ - \nLatest docs and version available at https://github.com/akamhy/waybackpy") + print("Usage: waybackpy --url [URL] --user_agent [USER AGENT] [OPTIONS]. See --help") if __name__ == "__main__":