]> thyrsus.com Git - src.git/commitdiff
Add synonyms.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 01:54:53 +0000 (20:54 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 01:54:53 +0000 (20:54 -0500)
src

diff --git a/src b/src
index 865aad90533b3c11eef410864e10a57ab63d497a..d72e89aa7b2f37dd67c97c7ee71b8ae3be8b2c9b 100755 (executable)
--- a/src
+++ b/src
@@ -175,9 +175,11 @@ src add ['file'...]
 
 src commit ['revison-spec'] ['file'...]
    Enters a commit for specified files. Separately to each one.
+   ci is a synonym for commit.
 
 src checkout [revspec] ['file'...]
    Refresh the working copy of the file(s) from their history files.
+   co is a synonym for checkout.
 
 src cat [revspec] ['file'...]
    Send the specified revisions of the files to standard output.
@@ -350,9 +352,11 @@ dispatch = {
     "init":     init_method,
     "add":      add_method,
     "commit":   commit_method,
+    "ci":       commit_method,
     "list":     list_method,
     "log":      log_method,
     "checkout": checkout_method,
+    "co":       checkout_method,
     "cat":      cat_method,
     "diff":     diff_method,
 }