configuration precedence
The order that decides which setting wins when a file, an environment variable, and a flag disagree.
A common convention: built-in defaults, then a config file, then environment variables, then command-line flags, each overriding the one before.
Examples
With
top = 5in the config file andTALLY_TOP=7set, runningtally -n 3 notes.txtuses 3: the flag beats the variable, which beats the file.
See also