many bugfix, fixed getopt split

This commit is contained in:
2026-10-13 16:01:13 +02:00
parent b5be992d82
commit ba1e07744e
22 changed files with 478 additions and 125 deletions
+24 -8
View File
@@ -132,7 +132,9 @@ gst()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
while true; do
case "$1" in
-h|--help)
@@ -180,7 +182,9 @@ ggraph()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
local limit=30
while true; do
case "$1" in
@@ -232,7 +236,9 @@ gsync()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
while true; do
case "$1" in
-h|--help)
@@ -299,7 +305,9 @@ gacp()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
local msg="" auto_add=0
case "${GIT_GACP_AUTO_ADD,,}" in
1|true|yes|on) auto_add=1 ;;
@@ -423,7 +431,9 @@ greset()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
local clean_ignored=0
while true; do
case "$1" in
@@ -560,7 +570,9 @@ gwip()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
while true; do
case "$1" in
-h|--help)
@@ -618,7 +630,9 @@ gprune()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
while true; do
case "$1" in
-h|--help)
@@ -731,7 +745,9 @@ groot()
fi
# Restore the getopt-normalised (shell-quoted) argument list
eval set -- "$PARSED"
local -a _pargs=()
_getopt_split _pargs "$PARSED"
set -- "${_pargs[@]}"
local do_go=0
while true; do
case "$1" in