summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-09-03 00:16:48 +0200
committerhut <hut@lepus.uberspace.de>2016-09-03 00:16:48 +0200
commit7a7b3966758a01f36dc576653bd4cbaf995614ee (patch)
tree9b849b482b26b269b6e63daf998c6b943a7aacf1
parent52b7de4e5d2983913f5b3059c4efc8dbfc52f77d (diff)
downloadranger-7a7b3966758a01f36dc576653bd4cbaf995614ee.tar.gz
manpage: Document how to escape macros
-rw-r--r--doc/ranger.16
-rw-r--r--doc/ranger.pod2
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index b2ba1aac..4e1e60eb 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29)
+.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32)
 .\"
 .\" Standard preamble:
 .\" ========================================================================
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RANGER 1"
-.TH RANGER 1 "ranger-1.7.2" "16/05/16" "ranger manual"
+.TH RANGER 1 "ranger-1.7.2" "09/03/2016" "ranger manual"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -337,6 +337,8 @@ can use it for something like this command:
 The macro \f(CW%space\fR expands to a space character. You can use it to add spaces to
 the end of a command when needed, while preventing editors to strip spaces off
 the end of the line automatically.
+.PP
+To write a literal %, you need to escape it by writing %%.
 .SS "\s-1BOOKMARKS\s0"
 .IX Subsection "BOOKMARKS"
 Type \fBm<key>\fR to bookmark the current directory. You can re-enter this
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 6b0752bd..e8252dcb 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -234,6 +234,8 @@ The macro %space expands to a space character. You can use it to add spaces to
 the end of a command when needed, while preventing editors to strip spaces off
 the end of the line automatically.
 
+To write a literal %, you need to escape it by writing %%.
+
 =head2 BOOKMARKS
 
 Type B<m<keyE<gt>> to bookmark the current directory. You can re-enter this