diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/mailsync | 6 |
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() { |