Przeglądaj źródła

Allow disabling passing of cert file

Alois Mahdal 3 lat temu
rodzic
commit
1dabaeba4d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      src/imapdomo.skel

+ 2
- 0
src/imapdomo.skel Wyświetl plik

@@ -17,6 +17,7 @@ usage() {
17 17
             "-l          list handlers and exit"                              \
18 18
             "-d          turn on debugging mode"                              \
19 19
             "-t CERTS    Use certificates file CERTS."                        \
20
+            "-T          Use system CA certificate storage."                  \
20 21
             "-N          turn off locking; make sure that handlers cannot"    \
21 22
             "            interfere with each other or that another locking"   \
22 23
             "            mechanism is in place.  Also see NOTE below."        \
@@ -169,6 +170,7 @@ main() {
169 170
         -t) Certs="$2"; shift 2 || usage -w "missing value to: $1" ;;
170 171
         -l) lshandlers; exit ;;
171 172
         -N) NoLock=true; shift ;;
173
+        -T) Certs=; shift ;;
172 174
         -V|--version-semver) show_semversion ;;
173 175
         --version) show_version ;;
174 176
         -*) usage -w "unknown argument: '$1'" ;;