summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-04 23:39:55 -0400
committerJune McEnroe <june@causal.agency>2020-09-04 23:39:55 -0400
commitd6cd53eb1c6465d4379eed417b18535740f8c3f3 (patch)
tree892e30819443d48a52f38bc9ea1731942fd5e66c /bin/man1
parentAdd nudge (diff)
downloadsrc-d6cd53eb1c6465d4379eed417b18535740f8c3f3.tar.gz
src-d6cd53eb1c6465d4379eed417b18535740f8c3f3.zip
Open /dev/tty in nudge
This makes it work even when it's run connected to a pipe, i.e. as the
notify command of catgirl...
Diffstat (limited to 'bin/man1')
-rw-r--r--bin/man1/nudge.16
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/man1/nudge.1 b/bin/man1/nudge.1
index 143a24ba..3ca4294a 100644
--- a/bin/man1/nudge.1
+++ b/bin/man1/nudge.1
@@ -8,6 +8,7 @@
 .
 .Sh SYNOPSIS
 .Nm
+.Op Fl f Ar file
 .Op Fl n Ar count
 .Op Fl s Ar shake
 .Op Fl t Ar delay
@@ -24,6 +25,11 @@ compatible terminal is required.
 .Pp
 The arguments are as follows:
 .Bl -tag -width Ds
+.It Fl f Ar file
+Open the terminal named by
+.Ar file .
+The default is
+.Pa /dev/tty .
 .It Fl n Ar count
 Set the number of times
 to nudge the terminal.