From 0d7c32136357a1be3386e7d92884469130844ead Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 24 Sep 2021 19:59:09 -0700 Subject: [PATCH] print total files in oxo's epilogue to reduce confusion --- sh/oxo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/oxo b/sh/oxo index b75486e..6c3521f 100755 --- a/sh/oxo +++ b/sh/oxo @@ -101,13 +101,13 @@ oxo() { ### @- if [ $hits -gt 0 ]; then [ $hits -eq 1 ] && s= || s=s - printf "$look" "oxo: successfully uploaded $hits file$s" >&2 + printf "$look" "oxo: successfully uploaded $hits/$total file$s" >&2 fi local fails=$((total-hits)) if [ $fails -gt 0 ]; then [ $fails -eq 1 ] && s= || s=s - printf "$err" "oxo: failed to upload $fails file$s" >&2 + printf "$err" "oxo: failed to upload $fails/$total file$s" >&2 fi [ ! -e /tmp/oxo ] || rm /tmp/oxo