commit 7492cecc272117605d1e8d90f0be6e553cb7a585
parent affeda817e1bd6c957311c3feb6950a4b521fb45
Author: Chris Allegretta <chrisa@asty.org>
Date: Mon, 18 Dec 2000 04:55:21 +0000
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-d3aeb78583b8
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git 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
@@ -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