Browse Source

Allow disabling passing of cert file

Alois Mahdal 3 years ago
parent
commit
1dabaeba4d
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/imapdomo.skel

+ 2
- 0
src/imapdomo.skel View File

@@ -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'" ;;