1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35: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 b44ed287dd
commit 27857406f5

View File

@ -31,7 +31,7 @@ help(){
exec "$bees_bin" --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 do
TMP_ARGS="$TMP_ARGS $i" TMP_ARGS="$TMP_ARGS $i"
done done