diff --git a/bin/qp_plugins b/bin/qp_plugins index 1a591e53..dc14b8ea 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]) + git_cmd=["git", "clone", url] + if arguments["--name"]: + git_cmd.append(arguments["--name"]) + subprocess.check_call(git_cmd) else: filename = url.split('/')[-1]