Compare commits

..

3 Commits

Author SHA1 Message Date
javalsai d2470f5892 fix: new std module loading 2026-06-22 22:21:25 +02:00
javalsai 72ca5f0ad4 fix: filter regex matching 2026-06-22 22:20:38 +02:00
javalsai 2d7be5d033 feat: add clap help flags 2026-06-22 22:20:24 +02:00
+5 -4
View File
@@ -1,4 +1,5 @@
std::mod::init tests 0.1.0
std::mod::init tests 0.2.1 \
"$(eval "$(std::mod::get-self-path)")"
##
# Prints the help menu.
@@ -44,8 +45,8 @@ tests::run() {
[--cat]=bool
[-k]=bool
[--keep]=bool
[-h]=help
[--help]=help
[-h]=bool
[--help]=bool
)
declare -a clap__arguments=()
@@ -93,7 +94,7 @@ tests::run() {
if [ "${#clap__arguments[@]}" -gt 0 ]; then
local skip_test=1
for filter in "${clap__arguments[@]}"; do
if grep -qE "^$filter*$" <<<"$prettyname"; then
if grep -qE "^$filter.*$" <<<"$prettyname"; then
skip_test=0
break
fi