summary refs log tree commit diff
path: root/bin/mailsync
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2024-03-05 16:56:14 +0100
committerRobert Günzler <r@gnzler.io>2024-03-05 16:56:14 +0100
commit0ab72c1113139c196115c974eadaded449002c32 (patch)
tree1c9e9f176c5d4f4415fd2f7d9df116d150a7e841 /bin/mailsync
parent16d30531ffad4fb8a7a41c2a62651bc7165bf7e4 (diff)
bin/mailsync: update
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rwxr-xr-xbin/mailsync6
1 files 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() {