blob: 5f67987e37d879cc9b82c4672ba5d86071ff5468 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Author: <hesso@pool.math.tu-berlin.de>
Description: This is not getopt() and we don't have two leading dashes, so
parse and match the long options in full.
Index: screen/screen.c
===================================================================
--- screen.orig/screen.c 2011-10-08 19:58:51.000000000 +0200
+++ screen/screen.c 2011-10-08 19:58:56.000000000 +0200
@@ -655,6 +655,8 @@
}
break;
case 'w':
+ if (strcmp(ap+1, "ipe"))
+ exit_with_usage(myname, "Unknown option %s", --ap);
lsflag = 1;
wipeflag = 1;
if (ac > 1 && !SockMatch)
|