From b65857b4de2c64efadcae86ff3be1b0741240bc7 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Thu, 3 Apr 2014 15:26:48 -0400 Subject: [PATCH] Addresses #6750 Use --help instead of - --- source_control/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source_control/git b/source_control/git index d75ee137bc6..968b763b1a4 100644 --- a/source_control/git +++ b/source_control/git @@ -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