shithub: watch

Download patch

ref: ba22c0c95ad08d101cbc3c3561b633f2382e90ab
parent: 5d4e55ea225f736f41d4e351033ba269e117c149
author: kvik <vp@kvik.link>
date: Fri May 17 15:38:52 EDT 2019

update synopsis and usage

--- a/watch.c
+++ b/watch.c
@@ -20,7 +20,7 @@
 void
 usage(void)
 {
-	fprint(2, "usage: %s [[-e expr] ...] [-t sec] [cmd]\n", argv0);
+	fprint(2, "usage: %s [-G] [[-e expr] ...] [-t sec] [cmd]\n", argv0);
 	exits("usage");
 }
 
--- a/watch.man
+++ b/watch.man
@@ -2,8 +2,10 @@
 .SH NAME
 watch \- run a command on file change
 .SH SYNOPSIS
-.B watch 
+.B watch
 [
+.B -G
+] [
 .B -t
 sec
 ] [[