Add 'sync-all status' as an alias for 'sync-all whatsnew' (to match git syntax)
authorJohan Tibell <johan.tibell@gmail.com>
Wed, 6 Apr 2011 07:29:46 +0000 (09:29 +0200)
committerJohan Tibell <johan.tibell@gmail.com>
Wed, 6 Apr 2011 07:29:46 +0000 (09:29 +0200)
sync-all

index b202fe7..caaed50 100755 (executable)
--- a/sync-all
+++ b/sync-all
@@ -290,7 +290,7 @@ sub scmall {
             }
 
             # Work out the arguments we should give to the SCM
             }
 
             # Work out the arguments we should give to the SCM
-            if ($command =~ /^(?:w|wh|wha|what|whats|whatsn|whatsne|whatsnew)$/) {
+            if ($command =~ /^(?:w|wh|wha|what|whats|whatsn|whatsne|whatsnew|status)$/) {
                 @scm_args = (($scm eq "darcs" and "whatsnew")
                           or ($scm eq "git" and "status"));
                 
                 @scm_args = (($scm eq "darcs" and "whatsnew")
                           or ($scm eq "git" and "status"));