1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 13:25:45 +02:00

Fixes a bad grep pattern caused by dffd6e0

Fixes #233
This commit is contained in:
KhalilSantana 2022-10-13 16:51:15 -03:00 committed by Zygo Blaxell
parent 587588d53f
commit 2751905f1d

View File

@ -31,7 +31,7 @@ help(){
exec "$bees_bin" --help
}
for i in $("$bees_bin" --help 2>&1 | grep -E "--" | sed -e "s/^[^-]*-/-/" -e "s/,[^-]*--/ --/" -e "s/ [^-]*$//")
for i in $("$bees_bin" --help 2>&1 | grep -E " --" | sed -e "s/^[^-]*-/-/" -e "s/,[^-]*--/ --/" -e "s/ [^-]*$//")
do
TMP_ARGS="$TMP_ARGS $i"
done