Use "$@" for expansion calls rather than manually listing argument numbers
This commit is contained in:
parent
d4a6bacec0
commit
cef4de2af0
7 changed files with 8 additions and 8 deletions
|
@ -98,5 +98,5 @@ recordmenu() {
|
|||
if [ -z "$1" ]; then
|
||||
recordmenu
|
||||
else
|
||||
"$1" "$2" "$3"
|
||||
"$@"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue