list can take additional argument

This commit is contained in:
southerntofu 2020-04-28 12:59:40 +02:00
parent cca442aa2a
commit 868fe0d80f
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ list_cmd() {
r="$1"
rhex="$(from_url "$r")"
if [ ! -f $db/."$rhex".secret ]; then
# Repository not found
echo "ERROR: Repository $r not found"
exit 1
fi
for u in "$db"/"$rhex".*; do
@ -271,7 +271,7 @@ case $command in
help_cmd
;;
"list")
list_cmd
list_cmd $@
;;
"add")
add_cmd $@