From 0a202fc28520a24d9ccf0b73fa50298d5ae1838f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pat=20M=C3=A4chler?= Date: Thu, 29 Jan 2015 13:33:44 +0100 Subject: [PATCH] UX: Add a note about the help if no parameters are passed When I tried to display the help, the necessary command wasn't intuitively clear to me. I would suggest to add a small note how one can display the help if no parameters are passed. --- youtube_dl/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 71d2c6f35..3e3b635ec 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -361,7 +361,8 @@ def _real_main(argv=None): sys.exit() ydl.warn_if_short_id(sys.argv[1:] if argv is None else argv) - parser.error('you must provide at least one URL') + parser.error('You must provide at least one URL.\n' + 'For more details on how to use the program type "youtube-dl -h"') try: if opts.load_info_filename is not None: