diff --git a/repoctl b/repoctl index cc64151..dc1f67b 100755 --- a/repoctl +++ b/repoctl @@ -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