changeset 22555:2143d794e960

revsetbenchmark: make it clear that revsets may be read from stdin
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 23 Sep 2014 17:08:49 -0700
parents bfc50ff55f3f
children 480a24ad9f77
files contrib/revsetbenchmarks.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/revsetbenchmarks.py	Sun Sep 21 12:50:48 2014 +0900
+++ b/contrib/revsetbenchmarks.py	Tue Sep 23 17:08:49 2014 -0700
@@ -74,7 +74,8 @@
 
 parser = OptionParser(usage="usage: %prog [options] <revs>")
 parser.add_option("-f", "--file",
-                  help="read revset from FILE", metavar="FILE")
+                  help="read revset from FILE (stdin if omited)",
+                  metavar="FILE")
 parser.add_option("-R", "--repo",
                   help="run benchmark on REPO", metavar="REPO")