diff options
author | Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> | 2014-04-25 14:01:52 +0200 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2014-04-25 14:01:52 +0200 |
commit | ce1161bb5366889199b818ed9831951105b98b73 (patch) | |
tree | 4885f0b2ec53174c0bd5ce664ab180d644c1c147 /src/screen.c | |
parent | d07546e23fcbb24250660d416863025a00c2f5bc (diff) | |
download | screen-ce1161bb5366889199b818ed9831951105b98b73.tar.gz |
This is not getopt() and we don't have two leading dashes, so parse and match the long options in full.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 7202818..e63690d 100644 --- a/src/screen.c +++ b/src/screen.c @@ -655,6 +655,8 @@ char **av; } break; case 'w': + if (strcmp(ap+1, "ipe")) + exit_with_usage(myname, "Unknown option %s", --ap); lsflag = 1; wipeflag = 1; if (ac > 1 && !SockMatch) |