has
has copied to clipboard
Fix CLI options parser in 'has' + updated 'packages_all.sh'
Sorry for the noise (several PR I closed), I muddled a bit between my branches.
Therefore this PR:
-
getopt
instead of bash built-ingetopts
-> it fixes the long options parser - fixed
--color
option - updated
_usage()
: added--color
explanation, + small typo (-v
instead of-V
) - updated tests due to 2.
- updated
packages_all.sh
regex in order to removeversion
,help
, etc. from its output