diff --git a/bin/qp_plugins b/bin/qp_plugins index 1a591e53..564be940 100755 --- a/bin/qp_plugins +++ b/bin/qp_plugins @@ -3,7 +3,7 @@ """ Usage: qp_plugins list [-iuq] - qp_plugins download + qp_plugins download [-n ] qp_plugins install ... qp_plugins uninstall qp_plugins create -n [-r ] [...] @@ -186,7 +186,10 @@ def main(arguments): url.endswith(".zip")) os.chdir(QP_PLUGINS) if is_repo: - subprocess.check_call(["git", "clone", url]) + cmd=["git", "clone", url] + if arguments["--name"]: + cmd=cmd+[arguments["--name"]] + subprocess.check_call(cmd) else: filename = url.split('/')[-1]