You are not logged in.
I often find myself looking for configuration options that maybe where included in the manpage or maybe in some online documentation the developer wrote. Sometimes the documentation isn't great. Is there a command I can run that'll list all configuration variables?
Offline
Ah ... what? What "file" or software are you referring to?
Are you referring to options to the configure script for software built with autotools? If so, have you tried `./configure --help`?
Last edited by Trilby (2020-01-02 03:18:50)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Depends entirely on the project/developer and their interest in documentation. Some settle with -h|--help, others go as far as using sphinx and the like to include comprehensive documentation, including example configs.
`pacman -Ql $package | grep doc` will give you an idea of what ships. After that, it is essentially a treasure hunt. You can try the web, or read the source...
Offline
Depends entirely on the project/developer and their interest in documentation. Some settle with -h|--help, others go as far as using sphinx and the like to include comprehensive documentation, including example configs.
`pacman -Ql $package | grep doc` will give you an idea of what ships. After that, it is essentially a treasure hunt. You can try the web, or read the source...
Got it, that was my intuition based on experience thus far: that there's not great standardization for presenting configuration options. The documentation usually says something like, "You can set this parameter if you'd like" without listing a comprehensive list of available parameters. I've only come across a few packages that have shipped with truly comprehensive manpages or help documentation and some ship very little.
Just seems odd to me that there wouldn't be a standard command to run on a package to list its entire suite of config options.
Offline