Get rid of our getOpt, as it already exists as lookup

This commit is contained in:
Joseph C. Sible 2020-02-01 22:50:13 -05:00
parent 2e52c2b56a
commit 3449e6be21
2 changed files with 1 additions and 3 deletions

View file

@ -960,8 +960,6 @@ getOpts string flags = process flags
more <- process rest2
return $ (flag1, token1) : more
getOpt str flags = snd <$> (listToMaybe $ filter (\(f, _) -> f == str) $ flags)
supportsArrays shell = shell == Bash || shell == Ksh
-- Returns true if the shell is Bash or Ksh (sorry for the name, Ksh)