commit 54ded4527a84e3e16dc8a5c91e6f70071cb88a6a
parent 4f433cd601e9f3dcf13d77a6b527a597ffeaaf14
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 31 Jul 2022 19:43:02 +0200
options: stop accepting -z, as --suspendable has been dropped too
This should have been part of commit 98f9518b from seven weeks ago.
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/nano.c b/src/nano.c
@@ -1816,7 +1816,7 @@ int main(int argc, char **argv)
SET(RESTRICTED);
while ((optchr = getopt_long(argc, argv, "0ABC:DEFGHIJ:KLMNOPQ:RST:UVWX:Y:Z"
- "abcdef:ghijklmno:pqr:s:tuvwxyz$%_!", long_options, NULL)) != -1) {
+ "abcdef:ghijklmno:pqr:s:tuvwxy$%_!", long_options, NULL)) != -1) {
switch (optchr) {
#ifndef NANO_TINY
case 'A':
@@ -2048,10 +2048,6 @@ int main(int argc, char **argv)
case 'y':
SET(AFTER_ENDS);
break;
-#endif
- case 'z':
- break;
-#ifndef NANO_TINY
case '%':
SET(STATEFLAGS);
break;