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
commit017c24c13eba146d694615b581ab793271c62e97 (patch)
tree1c2876ae73748eba05b3b9f36d34000fb9461a05 /bin/man1
parentAdd nudge (diff)
downloadsrc-017c24c13eba146d694615b581ab793271c62e97.tar.gz
src-017c24c13eba146d694615b581ab793271c62e97.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.