diff --git a/README.md b/README.md index ed9b3ed..1467501 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ [![stable branch](https://img.shields.io/badge/dynamic/json.svg?color=lightgrey&label=stable&query=%24.default_branch&url=https%3A%2F%2Fapi.github.com%2Frepos%2FUrsaDK%2Fgetopts_long&logo=github)](https://github.com/UrsaDK/getopts_long/tree/master) [![latest release](https://img.shields.io/badge/dynamic/json.svg?color=blue&label=release&query=%24.name&url=https%3A%2F%2Fapi.github.com%2Frepos%2FUrsaDK%2Fgetopts_long%2Freleases%2Flatest&logo=docker)](https://hub.docker.com/r/ursadk/getopts_long) [![test coverage](https://codecov.io/gh/UrsaDK/getopts_long/graph/badge.svg)](https://codecov.io/gh/UrsaDK/getopts_long) - [![donate link](https://img.shields.io/badge/donate-coinbase-gold.svg?colorB=ff8e00&logo=bitcoin)](https://commerce.coinbase.com/checkout/17ae30c2-9c3f-45fb-a911-36d01a3c81b6) @@ -157,7 +156,6 @@ while getopts_long ':af: all file:' OPTKEY; do done shift $(( OPTIND - 1 )) -[[ "${1}" == "--" ]] && shift ... ``` diff --git a/test/bin/getopts-silent b/test/bin/getopts-silent index 16d7093..38382e9 100755 --- a/test/bin/getopts-silent +++ b/test/bin/getopts-silent @@ -26,7 +26,6 @@ while getopts ":to:v:" OPTKEY; do done shift $(( OPTIND - 1 )) -[[ "${1}" == "--" ]] && shift echo "OPTERR: ${OPTERR}" echo "OPTKEY: ${OPTKEY}" diff --git a/test/bin/getopts-verbose b/test/bin/getopts-verbose index ebc9c4e..8c01ab1 100755 --- a/test/bin/getopts-verbose +++ b/test/bin/getopts-verbose @@ -23,7 +23,6 @@ while getopts "to:v:" OPTKEY; do done shift $(( OPTIND - 1 )) -[[ "${1}" == "--" ]] && shift echo "OPTERR: ${OPTERR}" echo "OPTKEY: ${OPTKEY}" diff --git a/test/bin/getopts_long-github_13-silent b/test/bin/getopts_long-github_13-silent index 13b178f..b2b9e07 100755 --- a/test/bin/getopts_long-github_13-silent +++ b/test/bin/getopts_long-github_13-silent @@ -30,7 +30,6 @@ while getopts_long ': toggle option: variable:' OPTKEY; do done shift $(( OPTIND - 1 )) -[[ "${1}" == "--" ]] && shift echo "OPTERR: ${OPTERR}" echo "OPTKEY: ${OPTKEY}" diff --git a/test/bin/getopts_long-github_13-verbose b/test/bin/getopts_long-github_13-verbose index 9bc2841..9d40f36 100755 --- a/test/bin/getopts_long-github_13-verbose +++ b/test/bin/getopts_long-github_13-verbose @@ -27,7 +27,6 @@ while getopts_long ' toggle option: variable:' OPTKEY; do done shift $(( OPTIND - 1 )) -[[ "${1}" == "--" ]] && shift echo "OPTERR: ${OPTERR}" echo "OPTKEY: ${OPTKEY}" diff --git a/test/bin/getopts_long-silent b/test/bin/getopts_long-silent index d126e0d..11e2be0 100755 --- a/test/bin/getopts_long-silent +++ b/test/bin/getopts_long-silent @@ -30,7 +30,6 @@ while getopts_long ':to:v: toggle option: variable:' OPTKEY; do done shift $(( OPTIND - 1 )) -[[ "${1}" == "--" ]] && shift echo "OPTERR: ${OPTERR}" echo "OPTKEY: ${OPTKEY}" diff --git a/test/bin/getopts_long-verbose b/test/bin/getopts_long-verbose index 5c3e434..fcf3f3c 100755 --- a/test/bin/getopts_long-verbose +++ b/test/bin/getopts_long-verbose @@ -27,7 +27,6 @@ while getopts_long 'to:v: toggle option: variable:' OPTKEY; do done shift $(( OPTIND - 1 )) -[[ "${1}" == "--" ]] && shift echo "OPTERR: ${OPTERR}" echo "OPTKEY: ${OPTKEY}"