removed explicit getopts check

This commit is contained in:
James Tomasino 2018-01-21 19:32:26 -05:00
parent a41b8c12f6
commit 11503de998
1 changed files with 0 additions and 7 deletions

7
burrow
View File

@ -60,13 +60,6 @@ END
}
function parse_input() {
getopt --test > /dev/null
if [[ $? -ne 4 ]]
then
echo "I'm sorry, \`getopt --test\` failed in this environment."
exit 1
fi
parsed=$(getopt --options=$arg_options --longoptions=$arg_longoptions --name "$0" -- "$@")
if [[ $? -ne 0 ]]; then
exit 2