From 01e940b9539aa4e23f4f9515f99061995823356d Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 27 Nov 2020 10:19:14 +0400 Subject: [PATCH] repoctl: permettre create -u --- repoctl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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