mercurial/commands.py
changeset 34905 5c7dbb730179
parent 34863 b1e3f609bf45
child 34906 2e45bbd3db7b
--- a/mercurial/commands.py	Wed Oct 18 19:00:33 2017 +0200
+++ b/mercurial/commands.py	Thu Oct 19 12:37:26 2017 +0200
@@ -3280,7 +3280,7 @@
 
     .. container:: verbose
 
-       Use -L/--line-range FILE,M-N options to follow the history of lines
+       Use -L/--line-range FILE,M:N options to follow the history of lines
        from M to N in FILE. With -p/--patch only diff hunks affecting
        specified line range will be shown. This option requires --follow;
        it can be specified multiple times. Currently, this option is not
@@ -3357,12 +3357,12 @@
 
       - changesets touching lines 13 to 23 for file.c::
 
-          hg log -L file.c,13-23
+          hg log -L file.c,13:23
 
       - changesets touching lines 13 to 23 for file.c and lines 2 to 6 of
         main.c with patch::
 
-          hg log -L file.c,13-23 -L main.c,2-6 -p
+          hg log -L file.c,13:23 -L main.c,2:6 -p
 
     See :hg:`help dates` for a list of formats valid for -d/--date.