]> thyrsus.com Git - src.git/commitdiff
More abbreviations.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 16 Nov 2014 05:51:02 +0000 (00:51 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 16 Nov 2014 05:51:02 +0000 (00:51 -0500)
src
src.asc

diff --git a/src b/src
index 5a2afa595347a498e6a9e5d7c4fb6d97b798d24d..f28120b8eab47f9858049f86663471c0ff08686e 100755 (executable)
--- a/src
+++ b/src
@@ -510,6 +510,8 @@ The edit flags and EDITOR variable are interpreted are as for commit.
 The only difference is that existing change comment is appended to
 any text you specify with switches as the initial conent ppassed
 to your editor.
+
+'am' is a synonym for 'amend'
 """,
     "checkout":"""
 src checkout ['revision'] ['file'...]
@@ -558,6 +560,8 @@ This command is provided assuming you will use the good practice
 of beginning each commit with a self-contained summary line.
 
 With no revision, dumps a log of the entire current branch.
+
+'li' is a synonym for 'list'.
 """,   
    "ignores" : """
 You can have a file named .srcignore containing the names of files that
@@ -1295,7 +1299,9 @@ dispatch = {
     "commit":      commit_method,
     "ci":          commit_method,
     "amend":       amend_method,
+    "am":          amend_method,
     "list":        list_method,
+    "li":          list_method,
     "log":         log_method,
     "checkout":    checkout_method,
     "co":          checkout_method,
diff --git a/src.asc b/src.asc
index adeb7501fcff7840ecf51a50ce9962cfe28abe36..cc67c73900dd0824e024abca1791369c77f2df2f 100644 (file)
--- a/src.asc
+++ b/src.asc
@@ -62,6 +62,7 @@ src commit [- | -m string | -f file | -e] ['file'...]::
 src amend [- | -m string | -f file | -e] ['revision'] ['file'...]::
    Amends the stored comment for a specified revision, defaulting to the
    latest revision on the current branch. Flags are as for commit.
+   "am" is a snonym for "amend".
 
 src checkout [revision] ['file'...]::
    Refresh the working copy of the file(s) from their history files.
@@ -89,7 +90,8 @@ src branch [list|-l|delete|del|-d] ['name'] ['revision'] ['file...']::
 src list ['revision-range'] ['file'...]::
    Sends summary information about the specified commits to standard output.
    The summary line tagged with '*' is the state that the file would
-   return to on checkout without a revision-spec.
+   return to on checkout without a revision-spec. "li" is a synonym
+   for "list".
 
 src log ['revision-range'] ['file'...]::
    Sends log information about the specified commits to standard output.