summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2024-03-13 11:29:45 +0100
committerache <ache@ache.one>2024-03-13 11:29:45 +0100
commit22136634cf162808019dbd926f0d7d6ecfe182e2 (patch)
tree37d8453ddef368b316f9a42873d80b44a581f31f
parentStop docker image (diff)
SSL CHECK DATE
-rw-r--r--functions/sslcheckdate.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/sslcheckdate.fish b/functions/sslcheckdate.fish
index 64c5957..3bd6228 100644
--- a/functions/sslcheckdate.fish
+++ b/functions/sslcheckdate.fish
@@ -1,4 +1,4 @@
-function sslcheckdate -d "Check the validity date of a distant SSL server"
+function sslcheckdate --description "Check the validity date of a distant SSL server"
# PEM format
echo "Validity dates of certificat of $argv[1] on port 443 (PEM format)"
echo "Q" | openssl s_client -servername $argv[1] -connect $argv[1]:443 2>/dev/null | openssl x509 -noout -dates