diff --git a/CHANGELOG.md b/CHANGELOG.md index 57e00b6e..f854ac1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,10 @@ - Page size attribute from scrollable widgets - Cutoff and footer attributes from table properties +### Fixed + +- Broken positional argument passing in `rad.sh` proxy script + ## [0.3.1] - 2024-06-11 ### Added diff --git a/scripts/rad.sh b/scripts/rad.sh index 551aff8f..93a35677 100755 --- a/scripts/rad.sh +++ b/scripts/rad.sh @@ -26,6 +26,9 @@ if [[ "$1" == "patch" ]] || [[ "$1" == "issue" ]] || [[ "$1" == "inbox" ]]; then op=$(extract_operation $out) id=$(extract_id $out) + echo $op + echo $id + rad $1 $op $id else # Run TUI @@ -33,7 +36,9 @@ if [[ "$1" == "patch" ]] || [[ "$1" == "issue" ]] || [[ "$1" == "inbox" ]]; then { out=$(rad-tui $1 select $args 2>&1 >&3 3>&-); } 3>&1 id=$(extract_id $out) - rad $1 $2 $id + args=("$@") + + rad $1 $2 $id ${args[@]:2} fi else rad $@