Skip to content
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

Improve output of /configure --help for disabled/enabled options by default #325

Open
dilyanpalauzov opened this issue Oct 16, 2024 · 1 comment

Comments

@dilyanpalauzov
Copy link

./configure --help prints

  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-liblsof        build and install liblsof [default=yes]
  --enable-security       allow only the root user to list all open files
                          [default=no]
  --enable-no-sock-security
                          combined with --enable-security, allow anyone to
                          list anyone else's socket files [default=no]

For me, if the --help output contains --enable-Z this means by default Z is disabled. The opposite is also true: if --help prints --disable-Y this means that by default Z is enabled.

Please consider in the above output to remove “ [default=…]" and to substitute the first three enable above with disable.

I have written an article on this: https://ab.bapha.be/posts/help-output/.

@jiegec
Copy link
Contributor

jiegec commented Oct 17, 2024

Pull requests are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants