tweaks: add a little change that was overlooked in the previous commit

Option --showcursor applies also to the help viewer, which means that
it can do something useful in restricted mode too.
master
Benno Schulenberg 2020-01-28 11:46:04 +01:00
parent a2fea9928d
commit f38bd5030d
1 changed files with 2 additions and 3 deletions

View File

@ -629,8 +629,7 @@ void usage(void)
print_opt(_("-f <file>"), _("--rcfile=<file>"), print_opt(_("-f <file>"), _("--rcfile=<file>"),
N_("Use only this file for configuring nano")); N_("Use only this file for configuring nano"));
#endif #endif
#ifdef ENABLE_BROWSER #if defined(ENABLE_BROWSER) || defined(ENABLE_HELP)
if (!ISSET(RESTRICTED))
print_opt("-g", "--showcursor", N_("Show cursor in file browser & help text")); print_opt("-g", "--showcursor", N_("Show cursor in file browser & help text"));
#endif #endif
print_opt("-h", "--help", N_("Show this help text and exit")); print_opt("-h", "--help", N_("Show this help text and exit"));