Skip to content

Commit

Permalink
Updated README and tests to address #19
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsaDK committed Dec 10, 2024
1 parent 9f89d74 commit 0cbfb8e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

</div>

Expand Down Expand Up @@ -157,7 +156,6 @@ while getopts_long ':af: all file:' OPTKEY; do
done

shift $(( OPTIND - 1 ))
[[ "${1}" == "--" ]] && shift

...
```
Expand Down
1 change: 0 additions & 1 deletion test/bin/getopts-silent
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ while getopts ":to:v:" OPTKEY; do
done

shift $(( OPTIND - 1 ))
[[ "${1}" == "--" ]] && shift

echo "OPTERR: ${OPTERR}"
echo "OPTKEY: ${OPTKEY}"
Expand Down
1 change: 0 additions & 1 deletion test/bin/getopts-verbose
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ while getopts "to:v:" OPTKEY; do
done

shift $(( OPTIND - 1 ))
[[ "${1}" == "--" ]] && shift

echo "OPTERR: ${OPTERR}"
echo "OPTKEY: ${OPTKEY}"
Expand Down
1 change: 0 additions & 1 deletion test/bin/getopts_long-github_13-silent
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ while getopts_long ': toggle option: variable:' OPTKEY; do
done

shift $(( OPTIND - 1 ))
[[ "${1}" == "--" ]] && shift

echo "OPTERR: ${OPTERR}"
echo "OPTKEY: ${OPTKEY}"
Expand Down
1 change: 0 additions & 1 deletion test/bin/getopts_long-github_13-verbose
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ while getopts_long ' toggle option: variable:' OPTKEY; do
done

shift $(( OPTIND - 1 ))
[[ "${1}" == "--" ]] && shift

echo "OPTERR: ${OPTERR}"
echo "OPTKEY: ${OPTKEY}"
Expand Down
1 change: 0 additions & 1 deletion test/bin/getopts_long-silent
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
1 change: 0 additions & 1 deletion test/bin/getopts_long-verbose
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 0cbfb8e

Please sign in to comment.