Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #381 from codecov/long-options
Browse files Browse the repository at this point in the history
Prevent long options
  • Loading branch information
thomasrockhu authored Nov 24, 2020
2 parents 1d2d70e + 0fd709e commit 79cbc08
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SHA1SUM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1899239735b60aaed827c5cdee77a82f19c84fd1 codecov
8e7bfe30232e3538f1f65fe6e4cf553cf9543eb2 codecov
2 changes: 1 addition & 1 deletion SHA256SUM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bb76428438116849921ffff5f65807ea7a706b00643ae4bc20fe5f5f28fc4dd9 codecov
a1494e6093fcf3e743990be5959a8e39251fcdcc9ae7d50000c426482d7b9098 codecov
2 changes: 1 addition & 1 deletion SHA512SUM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c1c9fd94677feeabe737daf06972fafdc5a6cbc88a35ea99858c8244697fc6923f02a7afcd925966f5e41e14911000709cb845d61e3f35b28e3cb85a5e5edcb3 codecov
364c912ba02c6da8f67ff0d46e33e309401aab9fc960055bf6ba46335aab6088e12ed5e6eebeb2ae14c4a06aaaf635ad8650e3f6db410f7b447af128ae01f786 codecov
8 changes: 7 additions & 1 deletion codecov
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,16 @@ parse_yaml() {

if [ $# != 0 ];
then
while getopts "a:A:b:B:cC:dD:e:f:F:g:G:hJ:k:Kn:p:P:Q:q:r:R:s:S:t:T:u:U:vx:X:ZN:" o
while getopts "a:A:b:B:cC:dD:e:f:F:g:G:hJ:k:Kn:p:P:Q:q:r:R:s:S:t:T:u:U:vx:X:ZN:-" o
do
codecov_flags+=( "$o" )
case "$o" in
"-")
echo -e "${r}Long options are not supported${x}"
exit 2
;;
"?")
;;
"N")
parent=$OPTARG
;;
Expand Down

0 comments on commit 79cbc08

Please sign in to comment.