diff --git a/ChangeLog b/ChangeLog index 6d0eba1b7c7a3fee3a5aa07d5debb8ffdfe88eb7..4b561a8ca45ca050f83479f311a6ac298e0f0a68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,6 +34,8 @@ General modify_control_key. Removed #ifdef _POSIX_VDISABLE check around Control-S,Q,Z handlers because we need it now for the Alt-Alt-x code. + - Added --view option to getopt_long()call . Bug discovered + by Rocco Corsi. help_init() - Fix off by one error that was making ^G help in normal mode and ^_ in pico mode not be displayed in the help (bug discovered by diff --git a/nano.c b/nano.c index 9acc1779adf065e27b6fefc55095dd6a22ca1e14..863ff0cbef6da886b0f3262610abd72360badee5 100644 --- a/nano.c +++ b/nano.c @@ -2053,6 +2053,7 @@ int main(int argc, char *argv[]) {"nowrap", 0, 0, 'w'}, {"nohelp", 0, 0, 'x'}, {"help", 0, 0, 'h'}, + {"view", 0, 0, 'v'}, #ifndef NANO_SMALL {"cut", 0, 0, 'k'}, #endif