소스 검색

new opts

tags/v3.1
Luke Smith 5 년 전
부모
커밋
02e418e923
No known key found for this signature in database GPG 키 ID: 4C50B54A911F6252
1개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. +8
    -3
      mw

+ 8
- 3
mw 파일 보기

@@ -273,14 +273,19 @@ main() { \
\033[31m1 Add an email account\033[0m
2 Autodetect mailboxes
3 Change an account's password
4 Change GPG key pair used for encryption
4 Remove an account
5 Change GPG key pair used for encryption
6 Delete all account data
0 Exit
Input a number to continue or press ctrl-c.\\n"
read -r choice
case "$choice" in
1) addaccount ;;
2) pick delete yes && finalize "$title" ;;
4) askgpg ;;
2) pick finalize && finalize "$title" ;;
2) break ;;
4) pick delete yes && delete "$title" ;;
5) askgpg ;;
6) printf "Are you \033[31;1mreally\033[0m sure you want to delete all email accounts?\\n" && read -r input && echo "$input" | grep -i "y\(es\)*" >/dev/null && wipe && printf "Account data purged." ;;
0) break ;;
*) printf "Invalid input.\\n"
esac


불러오는 중...
취소
저장