commit a97ce71584b9931644a91c363afedc915bf69a3e
parent 9f1bb21cfb715ea4e2e095ea9697a28e9d529c32
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 2 Mar 2020 15:42:57 +0100
Change watcher flag to -w
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wendy.c b/wendy.c
@@ -42,7 +42,7 @@ int verbose = 0;
void
usage(char *name)
{
- fprintf(stderr, "usage: %s [-vdr] [-m mask] [-f file] [command [args...]]\n", name);
+ fprintf(stderr, "usage: %s [-vdr] [-m mask] [-w file] [command [args...]]\n", name);
exit(1);
}
@@ -132,7 +132,7 @@ main (int argc, char **argv)
case 'v':
verbose++;
break;
- case 'f':
+ case 'w':
watch(fd, EARGF(usage(argv0)), mask);
break;
default: