summary refs log tree commit diff
path: root/bin/dtch.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-08 16:08:58 -0400
committerJune McEnroe <june@causal.agency>2018-09-08 16:08:58 -0400
commit86e5be333fcb4ccd24abb68efb7d01dc2428ccda (patch)
treed746f3cce119e1aacb14c0fd313003d9c288c7e7 /bin/dtch.1
parentPut real dates on man pages (diff)
downloadsrc-86e5be333fcb4ccd24abb68efb7d01dc2428ccda.tar.gz
src-86e5be333fcb4ccd24abb68efb7d01dc2428ccda.zip
Fix Nm usage in multi-name man pages
Diffstat (limited to 'bin/dtch.1')
-rw-r--r--bin/dtch.113
1 files changed, 8 insertions, 5 deletions
diff --git a/bin/dtch.1 b/bin/dtch.1
index 3aeb429e..b3780e36 100644
--- a/bin/dtch.1
+++ b/bin/dtch.1
@@ -6,10 +6,13 @@
 .Nm atch
 .Nd detached sessions
 .Sh SYNOPSIS
-.Nm dtch Op Ar name Op Ar "command ..."
-.Nm atch Op Ar name
+.Nm
+.Op Ar name
+.Op Ar "command ..."
+.Nm atch
+.Op Ar name
 .Sh DESCRIPTION
-.Nm dtch
+.Nm
 spawns the
 .Ar command
 (by default, the user's shell)
@@ -17,13 +20,13 @@ inside a new PTY.
 It then lends control of the detached PTY to
 .Nm atch
 over a UNIX-domain socket.
-.Nm dtch
+.Nm
 should be run as a background job or with
 .Xr nohup 1 .
 .Pp
 .Nm atch
 attaches to the
-.Nm dtch
+.Nm
 session with the corresponding
 .Ar name .
 To detach from a session, type