From 0ab72c1113139c196115c974eadaded449002c32 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 5 Mar 2024 16:56:14 +0100 Subject: bin/mailsync: update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bin/mailsync | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mailsync b/bin/mailsync index 75a7376..47d7743 100755 --- a/bin/mailsync +++ b/bin/mailsync @@ -14,7 +14,7 @@ done maildir="${HOME}/mail" cachefile=${XDG_CACHE_HOME}/mailsync.lastrun -accounts=(gnzler hu) +accounts=(gnzler) list= verbose= while getopts a:lvh opt; do @@ -25,7 +25,7 @@ while getopts a:lvh opt; do h | ?) printf "usage: %s [-h] [ACCOUNT...]\n" "$(basename "$0")" printf "\n" - printf " -a ACCOUNTS, accunts to sync (default: \"%s\")\n" "${accounts[@]}" + printf " -a ACCOUNTS, accunts to sync (default: \"%s\")\n" "${accounts[*]}" printf " -l list mail\n" printf " -v be verbose" printf "\n" @@ -36,7 +36,7 @@ done shift $((OPTIND - 1)) if [ -n "$1" ]; then - accounts=("$@") + accounts=("$*") fi notifysend() { -- cgit 1.4.1