This commit is contained in:
Jephté Clain 2024-03-06 08:55:06 +04:00
parent e723f9bd3e
commit 12344f7b14
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ function __parse_args() {
esac esac
# est-ce que l'option prend un argument? # est-ce que l'option prend un argument?
local __def __witharg __valdesc local __def __witharg __valdesc
__witharg=
for __def in "${__defs[@]}"; do for __def in "${__defs[@]}"; do
if [ "${__def%::*}" != "$__def" ]; then if [ "${__def%::*}" != "$__def" ]; then
[ "$__witharg" != : ] && __witharg=:: [ "$__witharg" != : ] && __witharg=::