diff options
Diffstat (limited to 'debian/patches/24option_parser.patch')
-rw-r--r-- | debian/patches/24option_parser.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/24option_parser.patch b/debian/patches/24option_parser.patch new file mode 100644 index 0000000..ca13613 --- /dev/null +++ b/debian/patches/24option_parser.patch @@ -0,0 +1,14 @@ +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. +--- a/screen.c ++++ b/screen.c +@@ -667,6 +667,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) |