From 7492cecc272117605d1e8d90f0be6e553cb7a585 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Mon, 18 Dec 2000 04:55:21 +0000 Subject: [PATCH] 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 --- ChangeLog | 2 ++ nano.c | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6d0eba1b..4b561a8c 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 9acc1779..863ff0cb 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 -- 2.39.5