summaryrefslogtreecommitdiff
path: root/functions/sslcheckdate.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/sslcheckdate.fish')
-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