Commit 1c995067 by James Tanner

Addresses #6750 Use --help instead of -

parent cca02818
......@@ -160,7 +160,7 @@ def get_submodule_update_params(module, git_path, cwd):
params = []
# run a bad submodule command to get valid params
cmd = "%s submodule update -" % (git_path)
cmd = "%s submodule update --help" % (git_path)
rc, stdout, stderr = module.run_command(cmd, cwd=cwd)
lines = stderr.split('\n')
update_line = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment