Creating flag Support for Mouse CSI

This commit is contained in:
Brandon Shockley 2021-08-02 15:59:42 -04:00 committed by GitHub
parent 307dfe94d4
commit 07edd619ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -223,7 +223,7 @@ static void die(const char *s) {
} }
static void usage(void) { static void usage(void) {
fprintf(stderr, "usage: abduco [-a|-A|-c|-n] [-p] [-r] [-q] [-l] [-f] [-e detachkey] name command\n"); fprintf(stderr, "usage: abduco [-a|-A|-c|-n] [-p] [-r] [-q] [-l] [-f] [-e detachkey] [-m] name command\n");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
@ -639,6 +639,8 @@ int main(int argc, char *argv[]) {
case 'v': case 'v':
puts("abduco-"VERSION" © 2013-2018 Marc André Tanner"); puts("abduco-"VERSION" © 2013-2018 Marc André Tanner");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
case 'm':
mouse = true;
default: default:
usage(); usage();
} }