Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add sysctl completion #2214
I'm not sure about the deprecated/aliased options - if I include them, that makes the output longer for things that do the same, but not including them means people have to read the man page if they've gotten the invocation from somewhere else to find out what they mean.
I just attempted to add support for OSX's weird implementation. The best way I could see was to just try
It also uses ":" as a key/value separator, so my assumption was that the output of
Do note that I DID NOT TEST THIS as I don't have an OSX machine, I purely followed the comments and the manpage.