update documentation, add help for --no-check-certificate

This commit is contained in:
Jan Dittberner 2015-02-11 00:05:37 +01:00
parent 46fc29c976
commit 81eb543c8f
2 changed files with 25 additions and 5 deletions

View file

@ -400,7 +400,8 @@ def main():
"-c", "--critical", metavar="SECONDS", default='',
help="return critical if connection setup takes longer than SECONDS")
parser.add_argument(
"--no-check-certificates", dest='checkcerts', action='store_false')
"--no-check-certificates", dest='checkcerts', action='store_false',
help="do not check whether the XMPP server's certificate is valid")
parser.add_argument(
"-r", "--ca-roots", dest="caroots",
help="path to a file or directory where CA certifcates can be found")