-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0: unrecognized option "--version" #1671
Comments
Those options obviously don't work together. I can look into it later to see how much effort it is to fix especially that. Note: there will be other conflicts which still won't be handled and resolving that is probably a tedious job. IN the meantime for you: there's probably no point setting the alias when your testssl.sh is installed as |
After doing some experimenting I found the reason for the "unrecognized option" error. As noted above, the help output says:
Looking at the code, the Above, when the alias is used, the first option is |
Maybe this is just a documentation bug: replace |
Please make sure that you provide enough information so that we understand what your issue is about.
I'm running with testssl.sh as an alias:
where /home/bminton/src/testssl.sh is the latest version from github.
yes
Linux node1 3.0.101-91-xen Heartbleed for STARTTLS #1 SMP Mon Sep 8 07:39:05 UTC 2014 (bbbeeba) x86_64 x86_64 x86_64 GNU/Linux
It just prints a blank line.
If I skip the alias and run the script directly, I see
testssl.sh 3.0.2 from https://testssl.sh/
commit 2949b9593749dd369aa3c420f76922e689ca596b
If I skip the alias and run the script directly, I see
what exactly was happening, output is needed
0: unrecognized option "--version"
what did you expect instead?
The script would display the version.
The text was updated successfully, but these errors were encountered: