pgit.sh fix: --create-remote-user-repos parsed incorrectly

--create-remote-user-repos is not recognized because of is not
recognized because of a typo, fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-18 21:12:54 +01:00
commit b7833c928a

View file

@ -120,7 +120,7 @@ clone()
local git_srv_admin="$SSH $login@git.janware.com /opt/jw-build/bin/git-srv-admin.sh" local git_srv_admin="$SSH $login@git.janware.com /opt/jw-build/bin/git-srv-admin.sh"
local opts local opts
opts=$(getopt -o C --long create-remote-user-repo -n clone -- "$@") || fatal "Failed to parse options $@" opts=$(getopt -o C --long create-remote-user-repos -n clone -- "$@") || fatal "Failed to parse options $@"
eval set -- "$opts" eval set -- "$opts"
while [ "$1" != -- ]; do while [ "$1" != -- ]; do
case "$1" in case "$1" in