mirror of
https://github.com/c-kr/check_json.git
synced 2024-11-23 19:03:49 +01:00
docs + indent
This commit is contained in:
parent
2d14c35db8
commit
c6ed8def7d
@ -99,19 +99,19 @@ $np->add_arg(
|
|||||||
$np->add_arg(
|
$np->add_arg(
|
||||||
spec => 'cacert|C=s',
|
spec => 'cacert|C=s',
|
||||||
default => '',
|
default => '',
|
||||||
help => "-T, --cacert /foo/ca.crt \n "
|
help => "-C, --cacert /foo/ca.crt \n "
|
||||||
. "Ca certificate ",
|
. "Ca certificate ",
|
||||||
);
|
);
|
||||||
$np->add_arg(
|
$np->add_arg(
|
||||||
spec => 'client-cert|J=s',
|
spec => 'client-cert|J=s',
|
||||||
default => '',
|
default => '',
|
||||||
help => "-T, --httpclientcert /foo/bar.crt \n "
|
help => "-J, --client-cert /foo/bar.crt \n "
|
||||||
. "Client certificate ",
|
. "Client certificate ",
|
||||||
);
|
);
|
||||||
$np->add_arg(
|
$np->add_arg(
|
||||||
spec => 'private-key|K=s',
|
spec => 'private-key|K=s',
|
||||||
default => '',
|
default => '',
|
||||||
help => "-T, --httpprivatekey /foo/bar.key \n "
|
help => "-K, --private-key /foo/bar.key \n "
|
||||||
. "Client certificate keyfile",
|
. "Client certificate keyfile",
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -145,7 +145,6 @@ if ($np->opts->httpclientcert) {
|
|||||||
SSL_cert_file => $np->opts->httpclientcert,
|
SSL_cert_file => $np->opts->httpclientcert,
|
||||||
SSL_key_file => $np->opts->httpprivatekey,
|
SSL_key_file => $np->opts->httpprivatekey,
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($np->opts->verbose) { (print Dumper ($ua))};
|
if ($np->opts->verbose) { (print Dumper ($ua))};
|
||||||
|
Loading…
Reference in New Issue
Block a user