summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-07 20:51:53 -0400
committerJune McEnroe <june@causal.agency>2018-09-07 20:51:53 -0400
commit3c820af5efba99dfb7c3e7087c26809270192008 (patch)
tree95d0338538561dc1eeb74e233e3637aa62a76286
parentAdd pbd.1 (diff)
downloadsrc-3c820af5efba99dfb7c3e7087c26809270192008.tar.gz
src-3c820af5efba99dfb7c3e7087c26809270192008.zip
Use .Dl for examples
Diffstat (limited to '')
-rw-r--r--bin/dtch.16
-rw-r--r--bin/glitch.16
-rw-r--r--bin/hnel.14
-rw-r--r--bin/pbd.110
4 files changed, 9 insertions, 17 deletions
diff --git a/bin/dtch.1 b/bin/dtch.1
index d0acb99e..550ce8ab 100644
--- a/bin/dtch.1
+++ b/bin/dtch.1
@@ -34,10 +34,8 @@ To detach from a session, type
 Location of UNIX-domain sockets for each session.
 .El
 .Sh EXAMPLES
-.Bd -literal
-dtch foo vim &
-atch foo
-.Ed
+.Dl dtch foo vim &
+.Dl atch foo
 .Sh SEE ALSO
 .Xr nohup 1 ,
 .Xr screen 1 ,
diff --git a/bin/glitch.1 b/bin/glitch.1
index 759fadbd..bf5e9a18 100644
--- a/bin/glitch.1
+++ b/bin/glitch.1
@@ -10,7 +10,7 @@
 .Op Fl a Ar filters
 .Op Fl d Ar filters
 .Op Fl o Ar file
-.Op Ar file
+.Op Ar
 .Sh DESCRIPTION
 .Nm
 misinterprets PNG files
@@ -53,9 +53,7 @@ Zero first pixel of each scanline after filtering.
 Zero first scanline after filtering.
 .El
 .Sh EXAMPLES
-.Bd -literal
-glitch -m -a sub -d sub
-.Ed
+.Dl glitch -m -a sub -d sub
 .Sh SEE ALSO
 .Xr pngo 1
 .Sh BUGS
diff --git a/bin/hnel.1 b/bin/hnel.1
index 42d160da..fa46f1af 100644
--- a/bin/hnel.1
+++ b/bin/hnel.1
@@ -22,9 +22,7 @@ Type
 .Ic ^S
 to toggle remapping.
 .Sh EXAMPLES
-.Bd -literal
-hnel '[]{}' '{}[]' vim
-.Ed
+.Dl hnel '[]{}' '{}[]' vim
 .Sh SEE ALSO
 .Xr tr 1 ,
 .Xr forkpty 3
diff --git a/bin/pbd.1 b/bin/pbd.1
index 4de31faf..6ebde4c0 100644
--- a/bin/pbd.1
+++ b/bin/pbd.1
@@ -35,15 +35,13 @@ to access the local pasteboard
 and open URLs.
 .Pp
 Forwarding can be configured with:
-.Bd -literal
+.Bd -literal -offset indent
 RemoteForward 7062 127.0.0.1:7062
 .Ed
 .Sh EXAMPLES
-.Bd -literal
-pbd &
-ssh -R 7062:127.0.0.1:7062 tux.local
-pbpaste
-.Ed
+.Dl pbd &
+.Dl ssh -R 7062:127.0.0.1:7062 tux.local
+.Dl pbpaste
 .Sh SEE ALSO
 .Xr open 1 ,
 .Xr pbcopy 1 ,