From 125100dd11fd2964436077583b3f1c7406ce1f71 Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Fri, 15 Feb 2013 02:13:50 +0100 Subject: [PATCH] exit 0 when called with no arguments --- src/you_get/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/you_get/common.py b/src/you_get/common.py index 4a833aea..7c13066f 100644 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -656,7 +656,7 @@ def script_main(script_name, download, download_playlist = None): sys.exit(1) if not args: print(help) - sys.exit(1) + sys.exit() set_http_proxy(proxy)