help: clarify quotes are needed for filesets.size expressions
authortimeless <timeless@mozdev.org>
Wed, 21 Sep 2016 16:33:37 +0000
changeset 29987 d532ef155b0e
parent 29986 12eeb3b7da8e
child 29988 96358865edb3
help: clarify quotes are needed for filesets.size expressions
mercurial/fileset.py
--- a/mercurial/fileset.py	Wed Sep 21 20:43:41 2016 +0800
+++ b/mercurial/fileset.py	Wed Sep 21 16:33:37 2016 +0000
@@ -345,10 +345,10 @@
 def size(mctx, x):
     """File size matches the given expression. Examples:
 
-    - 1k (files from 1024 to 2047 bytes)
-    - < 20k (files less than 20480 bytes)
-    - >= .5MB (files at least 524288 bytes)
-    - 4k - 1MB (files from 4096 bytes to 1048576 bytes)
+    - size('1k') - files from 1024 to 2047 bytes
+    - size('< 20k') - files less than 20480 bytes
+    - size('>= .5MB') - files at least 524288 bytes
+    - size('4k - 1MB') - files from 4096 bytes to 1048576 bytes
     """
 
     # i18n: "size" is a keyword