From 017c24c13eba146d694615b581ab793271c62e97 Mon Sep 17 00:00:00 2001
From: "C. McEnroe" <june@causal.agency>
Date: Fri, 4 Sep 2020 23:39:55 -0400
Subject: 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...
---
 bin/man1/nudge.1 | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'bin/man1')

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.
-- 
cgit 1.4.1