moused: remove undocumented and unused option 'C'
This commit is contained in:
parent
bc157922b7
commit
fa5625f426
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $ */
|
||||
/* $NetBSD: moused.c,v 1.31 2024/03/29 06:13:40 rillig Exp $ */
|
||||
/**
|
||||
** Copyright (c) 1995 Michael Smith, All rights reserved.
|
||||
**
|
||||
|
@ -48,7 +48,7 @@
|
|||
#include <sys/cdefs.h>
|
||||
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $");
|
||||
__RCSID("$NetBSD: moused.c,v 1.31 2024/03/29 06:13:40 rillig Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <ctype.h>
|
||||
|
@ -685,15 +685,6 @@ main(int argc, char *argv[])
|
|||
}
|
||||
break;
|
||||
|
||||
case 'C':
|
||||
rodent.clickthreshold = atoi(optarg);
|
||||
if ((rodent.clickthreshold < 0) ||
|
||||
(rodent.clickthreshold > MAX_CLICKTHRESHOLD)) {
|
||||
warnx("invalid argument `%s'", optarg);
|
||||
usage();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'D':
|
||||
rodent.flags |= ClearDTR;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue