diff --git a/zsh.d/zshfunctions/x509 b/zsh.d/zshfunctions/x509 index 885fce1..2b14857 100644 --- a/zsh.d/zshfunctions/x509 +++ b/zsh.d/zshfunctions/x509 @@ -18,6 +18,6 @@ while getopts ":hr:" arg; do ;; esac done -[ $help -eq 0 ] && usage && return +[ $help -eq 1 ] && usage && return [ $remote -eq 0 ] && openssl x509 -in $* -noout -text [ $remote -eq 1 ] && openssl s_client -connect $host < /dev/null | openssl x509 -noout -text diff --git a/zsh.d/zshfunctions/x509.zwc b/zsh.d/zshfunctions/x509.zwc index a5166d5..1c28737 100644 Binary files a/zsh.d/zshfunctions/x509.zwc and b/zsh.d/zshfunctions/x509.zwc differ