]> thyrsus.com Git - src.git/commitdiff
Add more help.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 02:00:33 +0000 (21:00 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 02:00:33 +0000 (21:00 -0500)
src

diff --git a/src b/src
index d72e89aa7b2f37dd67c97c7ee71b8ae3be8b2c9b..15e338db4be814db20438002682c388eb4b29eab 100755 (executable)
--- a/src
+++ b/src
@@ -164,6 +164,8 @@ class RCSLog:
 def help_method(*args):
     "Summarize src commands, or (with argument) show help for a single command."
     print"""
+A revision-spec can be a 1-origin revno or a pair of them separated by '-'.
+
 src help [command]
    Displays help for commands.
 
@@ -192,15 +194,19 @@ src tag [delete] ['tagname'] ['revspec']
 
 src list ['revision-spec'] ['file'...]
    Sends summary information about the specified commits to standard output.
+   In each file listing, the summary line tagged with '*' matches the
+   state of the working copy.
 
 src log ['revision-spec'] ['file'...]
    Sends log information about the specified commits to standard output.
 
 src diff ['revision-spec'] ['file'...]
-   Sends a diff listing to standard output
+   Sends a diff listing to standard output. With no revision spec, diffs
+   the working copy against the last version checked in. With one revno,
+   diffs the working copy against that stored revision; with a range,
 
 src fast-export ['file'...]
-   Export one or more projects as a git fast-import stream.
+   Export one or more projects to standard output as a git fast-import stream.
 """
 
 def init_method(*args):