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
|
## TODO
|
||||||
|
|
||||||
Support for custom CAs
|
* Support for custom CAs
|
||||||
Example CRON/Jenkins jobs
|
* 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:
|
Options:
|
||||||
-v Increase verbosity [default: False]
|
-h --help Show this help.
|
||||||
-j Output in JSON format [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]
|
-v Increase verbosity [default: False].
|
||||||
-t SECONDS --timeout=SECONDS Timeout for SSL Handshake [default: 5]
|
-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
|
import logging
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user