list can take additional argument
This commit is contained in:
parent
cca442aa2a
commit
868fe0d80f
|
@ -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 $@
|
||||
|
|
Reference in New Issue