tChange watcher flag to -w - wendy - watch files/directories and run commands on any event
HTML git clone git://z3bra.org/wendy
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a97ce71584b9931644a91c363afedc915bf69a3e
DIR parent 9f1bb21cfb715ea4e2e095ea9697a28e9d529c32
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 2 Mar 2020 15:42:57 +0100
Change watcher flag to -w
Diffstat:
M wendy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/wendy.c b/wendy.c
t@@ -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);
}
t@@ -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: