summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/irb.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index ab50c797c7..f7019ab0ea 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -656,8 +656,10 @@ require_relative "irb/pager"
# * `%m`: the value of `self.to_s`.
# * `%M`: the value of `self.inspect`.
# * `%l`: an indication of the type of string; one of `"`, `'`, `/`, `]`.
-# * `*NN*i`: Indentation level.
-# * `*NN*n`: Line number.
+# * `%NNi`: Indentation level. NN is a 2-digit number that specifies the number
+# of digits of the indentation level (03 will result in 001).
+# * `%NNn`: Line number. NN is a 2-digit number that specifies the number
+# of digits of the line number (03 will result in 001).
# * `%%`: Literal `%`.
#
#