main(): - Added --view option to getopt_long()call . Bug discovered by Rocco Corsi.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
affeda817e
commit
7492cecc27
|
@ -34,6 +34,8 @@ General
|
||||||
modify_control_key. Removed #ifdef _POSIX_VDISABLE check
|
modify_control_key. Removed #ifdef _POSIX_VDISABLE check
|
||||||
around Control-S,Q,Z handlers because we need it now for
|
around Control-S,Q,Z handlers because we need it now for
|
||||||
the Alt-Alt-x code.
|
the Alt-Alt-x code.
|
||||||
|
- Added --view option to getopt_long()call . Bug discovered
|
||||||
|
by Rocco Corsi.
|
||||||
help_init()
|
help_init()
|
||||||
- Fix off by one error that was making ^G help in normal mode and
|
- 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
|
^_ in pico mode not be displayed in the help (bug discovered by
|
||||||
|
|
1
nano.c
1
nano.c
|
@ -2053,6 +2053,7 @@ int main(int argc, char *argv[])
|
||||||
{"nowrap", 0, 0, 'w'},
|
{"nowrap", 0, 0, 'w'},
|
||||||
{"nohelp", 0, 0, 'x'},
|
{"nohelp", 0, 0, 'x'},
|
||||||
{"help", 0, 0, 'h'},
|
{"help", 0, 0, 'h'},
|
||||||
|
{"view", 0, 0, 'v'},
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
{"cut", 0, 0, 'k'},
|
{"cut", 0, 0, 'k'},
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue