Improve documentation and cmdline help
This commit is contained in:
@@ -8,5 +8,6 @@ Certo checks one or several servers' SSL certificates for validity and impending
|
||||
|
||||
## TODO
|
||||
|
||||
Support for custom CAs
|
||||
Example CRON/Jenkins jobs
|
||||
* Support for custom CAs
|
||||
* Example CRON/Jenkins jobs
|
||||
* Async checks
|
||||
@@ -1,11 +1,14 @@
|
||||
"""
|
||||
Usage: certo [-v] [-j] <hostnames>... [-d DAYS|--days-to-expiration=DAYS] [-t SECONDS|--timeout=SECONDS]
|
||||
Usage:
|
||||
certo [-vj] <hostnames>... [-d DAYS|--days-to-expiration=DAYS] [-t SECONDS|--timeout=SECONDS]
|
||||
certo -h | --help
|
||||
|
||||
Options:
|
||||
-v Increase verbosity [default: False]
|
||||
-j Output in JSON format [default: False]
|
||||
-d DAYS --days-to-expiration=DAYS Warn about impending expiration if within DAYS of the cert's notAfter [default: 5]
|
||||
-t SECONDS --timeout=SECONDS Timeout for SSL Handshake [default: 5]
|
||||
-h --help Show this help.
|
||||
-j Output in JSON format [default: False].
|
||||
-v Increase verbosity [default: False].
|
||||
-d DAYS --days-to-expiration=DAYS Warn about near expiration if within DAYS of the cert's notAfter [default: 5].
|
||||
-t SECONDS --timeout=SECONDS Timeout for SSL Handshake [default: 5].
|
||||
"""
|
||||
import logging
|
||||
|
||||
|
||||
Reference in New Issue
Block a user