mirror of git://git.sv.gnu.org/nano.git
help: show option -Y/--syntax in --help output also in restricted mode
Since version 3.2, commit5ca444e5
, nano reads the nanorc files also in restricted mode (when not also --ignorercfiles is given), meaning that syntaxes are available and that a specific syntax can be selected on the command line. So, the --help output in restricted mode should list the relevant option: -Y<name> / --syntax=<name>. (This should have been part of commitb81995af
from six years ago.)
This commit is contained in:
parent
5251ce1b20
commit
ea07eb6aa3
|
@ -574,8 +574,7 @@ void usage(void)
|
|||
N_("Which other characters are word parts"));
|
||||
#endif
|
||||
#ifdef ENABLE_COLOR
|
||||
if (!ISSET(RESTRICTED))
|
||||
print_opt(_("-Y <name>"), _("--syntax=<name>"),
|
||||
print_opt(_("-Y <name>"), _("--syntax=<name>"),
|
||||
N_("Syntax definition to use for coloring"));
|
||||
#endif
|
||||
#ifndef NANO_TINY
|
||||
|
|
Loading…
Reference in New Issue