aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@google.com>2019-09-20 09:09:52 -0400
committerBenjamin Barenblat <bbaren@google.com>2019-09-20 09:09:52 -0400
commit729c3d91674614bdfd89aefc31891fa2be1262fd (patch)
treef76fb6f342f5b3f66206a98eb3d35fa0ba3f4b0a
parenta80f05dfd7ec9bffc17d0c30309385eda9dadf6d (diff)
man: Escape hyphens
-rw-r--r--sor.16
-rw-r--r--walk.16
2 files changed, 6 insertions, 6 deletions
diff --git a/sor.1 b/sor.1
index ff311ca..0e15f0c 100644
--- a/sor.1
+++ b/sor.1
@@ -25,12 +25,12 @@ snippet with the path as the first argument. Print the path to standard output
if any of the snippets exits with status 0.
.SH OPTIONS
.TP
-\fB-0, --null\fP
+\fB\-0, \-\-null\fP
Filenames are terminated using the null character \fB\\0\fP instead of
newlines, for both input and output.
-Suitable for use with \fBwalk -0\fP.
+Suitable for use with \fBwalk \-0\fP.
.TP
-\fB--help\fP
+\fB\-\-help\fP
Print a summary of the usage of \fBsor\fP and exit.
.SH EXAMPLE
.EX
diff --git a/walk.1 b/walk.1
index da2510f..18ea88f 100644
--- a/walk.1
+++ b/walk.1
@@ -25,11 +25,11 @@ Recursively list the specified
specified.
.SH OPTIONS
.TP
-\fB-0, --null\fP
+\fB\-0, \-\-null\fP
Terminate output filenames using the null character \fB\\0\fP instead of newlines.
-Suitable for use with \fBsor -0\fP.
+Suitable for use with \fBsor \-0\fP.
.TP
-\fB--help\fP
+\fB\-\-help\fP
Print a summary of the usage of \fBwalk\fP and exit.
.SH "EXIT STATUS"
.BR walk 's