Skip to content

Commit 09dfd02

Browse files
committed
wrap branch to allow help fix codecov#23
1 parent 2737f6b commit 09dfd02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codecov/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def main(*argv):
253253
# ---
254254
# git
255255
# ---
256-
else:
256+
elif '-h' not in argv and '--help' not in argv:
257257
# find branch, commit, repo from git command
258258
branch = subprocess.check_output('git rev-parse --abbrev-ref HEAD', shell=True)
259259
defaults.update(dict(branch=branch if branch != 'HEAD' else 'master',

0 commit comments

Comments
 (0)