repoctl: permettre create -u

This commit is contained in:
Jephté Clain 2020-11-27 10:19:14 +04:00
parent e453ed2533
commit 01e940b953
1 changed files with 4 additions and 1 deletions

View File

@ -366,7 +366,10 @@ args=(
parse_args "$@"; set -- "${args[@]}"
if [ -z "$action" -a -n "$update_origin" ]; then
action=update-origin
case "$1" in
c|create) action=create; shift;;
*) action=update-origin;;
esac
fi
if [ -z "$action" ]; then
action="$1"; shift