diff --git a/src/nano.c b/src/nano.c index eae78688..6febe2c6 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1848,7 +1848,7 @@ int main(int argc, char **argv) SET(RESTRICTED); while ((optchr = getopt_long(argc, argv, "ABC:DEFGHIJ:KLMNOPQ:RST:UVWX:Y:Z" - "abcdef:ghijklmno:pqr:s:tuvwxyz$?%!", long_options, NULL)) != -1) { + "abcdef:ghijklmno:pqr:s:tuvwxyz$%!", long_options, NULL)) != -1) { switch (optchr) { #ifndef NANO_TINY case 'A': @@ -2001,7 +2001,6 @@ int main(int argc, char **argv) break; #endif case 'h': - case '?': usage(); exit(0); #ifndef NANO_TINY