Skip to content

Commit 607e6ef

Browse files
also in grbrun the --help output now is on multiple lines
1 parent 144b04d commit 607e6ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/grbrun.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@ function print_help {
2929
local this_bin="$1"
3030
local BACKEND=$2
3131
local RUNNER=$3
32+
local ALL_BACKENDS="${BACKENDS[@]}"
3233

3334
echo "* Runs an ALP/GraphBLAS binary by calling an underlying runner and by passing needed flags."
3435
echo
3536
echo "Usage: ${this_bin} [ALP-specific options...] [--] [runner arguments...] <ALP/GraphBLAS binary> [binary arguments...]"
3637
echo
3738
echo "ALP-specific options:"
38-
echo " -b,--backend <backend> run against the ALP/GraphBLAS backend <backend>; possible values: ${BACKENDS[@]}; default: reference"
39+
echo " -b,--backend <backend> run against the ALP/GraphBLAS backend <backend>;"
40+
echo " possible values: ${ALL_BACKENDS// /, };"
41+
echo " default: ${BACKENDS[0]}"
3942
echo " --show show the full run command WITHOUT executing it"
4043
echo " --help display this help"
4144
echo " -- <args...> pass all the following <args...> arguments directly to the underlying runner"

0 commit comments

Comments
 (0)