exit 0 when called with no arguments

This commit is contained in:
Mort Yao 2013-02-15 02:13:50 +01:00
parent b1a059d061
commit 125100dd11

View File

@ -656,7 +656,7 @@ def script_main(script_name, download, download_playlist = None):
sys.exit(1) sys.exit(1)
if not args: if not args:
print(help) print(help)
sys.exit(1) sys.exit()
set_http_proxy(proxy) set_http_proxy(proxy)