fixed credits bug with dashes

This commit is contained in:
Wryn (yage) Wagner 2022-08-10 00:55:27 -06:00
parent 6333a2f6b8
commit 4047aad29e

View File

@ -3,6 +3,7 @@ __CREDITS() {
[ ! $SCWRYPTS_ROOT ] && return 0 [ ! $SCWRYPTS_ROOT ] && return 0
local COMMAND="$1" local COMMAND="$1"
[[ $COMMAND =~ - ]] && COMMAND=$(echo $COMMAND | sed 's/-/--/g')
cd $SCWRYPTS_ROOT cd $SCWRYPTS_ROOT
cat ./**/README.md \ cat ./**/README.md \
| grep 'Generic Badge' \ | grep 'Generic Badge' \