@@ -41,15 +41,14 @@ def cli(version):
41
41
@click .option ('--cert' , help = 'Devo user cert file.' )
42
42
@click .option ('--chain' , help = 'Devo chain.crt file.' )
43
43
@click .option ('--sec_level' , help = 'Sec level for opensslsocket. Default: None' ,
44
- default = None , type = int )
44
+ type = int )
45
45
@click .option ('--verify_mode' , help = 'Verify mode for SSL Socket. '
46
46
'Default: SSL default.'
47
47
'You need use int "0" (CERT_NONE), '
48
48
'"1" (CERT_OPTIONAL) or '
49
- '"2" (CERT_REQUIRED)' ,
50
- default = None , type = int )
49
+ '"2" (CERT_REQUIRED)' , type = int )
51
50
@click .option ('--check_hostname' , help = 'Verify cert hostname. Default: True' ,
52
- default = True , type = bool )
51
+ type = bool )
53
52
@click .option ('--multiline/--no-multiline' , help = 'Flag for multiline (With '
54
53
'break-line in msg). '
55
54
'Default False' , default = False )
@@ -128,15 +127,14 @@ def data(**kwargs):
128
127
@click .option ('--cert' , help = 'Devo user cert file.' )
129
128
@click .option ('--chain' , help = 'Devo chain.crt file.' )
130
129
@click .option ('--sec_level' , help = 'Sec level for opensslsocket. Default: None' ,
131
- default = None , type = int )
130
+ type = int )
132
131
@click .option ('--verify_mode' , help = 'Verify mode for SSL Socket. '
133
132
'Default: SSL default.'
134
133
'You need use int "0" (CERT_NONE), '
135
134
'"1" (CERT_OPTIONAL) or '
136
- '"2" (CERT_REQUIRED)' ,
137
- default = None , type = int )
135
+ '"2" (CERT_REQUIRED)' , type = int )
138
136
@click .option ('--check_hostname' , help = 'Verify cert hostname. Default: True' ,
139
- default = True , type = bool )
137
+ type = bool )
140
138
@click .option ('--type' , help = 'Connection type: SSL or TCP' , default = "SSL" )
141
139
@click .option ('--name' , '-n' , help = 'Name for Lookup.' )
142
140
@click .option ('--action' , '-ac' , help = 'INC or FULL.' , default = "FULL" )
0 commit comments