Kaynağa Gözat

Use `printf` instead of `cat` for mutt-wizard info

pull/872/head
amarakon 3 yıl önce
ebeveyn
işleme
c8b944e318
1 değiştirilmiş dosya ile 3 ekleme ve 5 silme
  1. +3
    -5
      bin/mw

+ 3
- 5
bin/mw Dosyayı Görüntüle

@@ -275,8 +275,7 @@ setact() { if [ -n "${action+x}" ] && [ "$action" != "$1" ]; then
action="$1" action="$1"
fi; } fi; }


mwinfo() { cat << EOF
mw: mutt-wizard, auto-configure email accounts for mutt
mwinfo() { printf "mw: %s" "mutt-wizard, auto-configure email accounts for mutt
including downloadable mail with \`isync\`. including downloadable mail with \`isync\`.


Main actions: Main actions:
@@ -292,7 +291,7 @@ Main actions:


Options allowed with -a: Options allowed with -a:
-u Account login name if not full address -u Account login name if not full address
-n "Real name" to be on the email account
-n \"Real name\" to be on the email account
-i IMAP/POP server address -i IMAP/POP server address
-I IMAP/POP server port -I IMAP/POP server port
-s SMTP server address -s SMTP server address
@@ -308,8 +307,7 @@ NOTE: Once at least one account is added, you can run
\`mbsync -a\` to begin downloading mail. \`mbsync -a\` to begin downloading mail.


To change an account's password, run \`pass edit '$passprefix'your@email.com\`. To change an account's password, run \`pass edit '$passprefix'your@email.com\`.
EOF
}
"; }


reorder() { reorder() {
tempfile="$(mktemp -u)" tempfile="$(mktemp -u)"


Yükleniyor…
İptal
Kaydet