From 86e5be333fcb4ccd24abb68efb7d01dc2428ccda Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 8 Sep 2018 16:08:58 -0400 Subject: Fix Nm usage in multi-name man pages --- bin/dtch.1 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'bin/dtch.1') 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 -- cgit 1.4.1