options: make --zero imply --nohelp, and 'set zero' imply 'set nohelp'

This fits better with what "zero" intuitively means.
master
Benno Schulenberg 2021-11-25 15:49:26 +01:00
parent 9a8d9ef496
commit 79def643a3
1 changed files with 4 additions and 0 deletions

View File

@ -2219,6 +2219,10 @@ int main(int argc, char **argv)
if (ISSET(RAW_SEQUENCES))
UNSET(USE_MOUSE);
/* When suppressing title bar or minibar, suppress also the help lines. */
if (ISSET(ZERO))
SET(NO_HELP);
#ifdef ENABLE_HISTORIES
/* Initialize the pointers for the Search/Replace/Execute histories. */
history_init();