repoctl: permettre create -u
This commit is contained in:
parent
e453ed2533
commit
01e940b953
5
repoctl
5
repoctl
|
@ -366,7 +366,10 @@ args=(
|
||||||
parse_args "$@"; set -- "${args[@]}"
|
parse_args "$@"; set -- "${args[@]}"
|
||||||
|
|
||||||
if [ -z "$action" -a -n "$update_origin" ]; then
|
if [ -z "$action" -a -n "$update_origin" ]; then
|
||||||
action=update-origin
|
case "$1" in
|
||||||
|
c|create) action=create; shift;;
|
||||||
|
*) action=update-origin;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
if [ -z "$action" ]; then
|
if [ -z "$action" ]; then
|
||||||
action="$1"; shift
|
action="$1"; shift
|
||||||
|
|
Loading…
Reference in New Issue