cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: Make repo-clone without -r show --help text.
Date Mon, 20 Oct 2014 14:17:54 GMT
Repository: cordova-coho
Updated Branches:
  refs/heads/master 9c63ceba8 -> b92ef1d41


Make repo-clone without -r show --help text.


Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/b92ef1d4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/b92ef1d4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/b92ef1d4

Branch: refs/heads/master
Commit: b92ef1d41514323216414798453b6d29f67dbdd8
Parents: 9c63ceb
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Oct 20 10:17:45 2014 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Oct 20 10:17:45 2014 -0400

----------------------------------------------------------------------
 src/repo-clone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/b92ef1d4/src/repo-clone.js
----------------------------------------------------------------------
diff --git a/src/repo-clone.js b/src/repo-clone.js
index 51fe596..970e6fe 100644
--- a/src/repo-clone.js
+++ b/src/repo-clone.js
@@ -33,7 +33,7 @@ module.exports = function*(argv) {
                'Usage: $0 clone --repo=name [--repo=othername]')
         .argv;
 
-    if (argv.h) {
+    if (argv.h || argv.r == 'auto') {
         optimist.showHelp();
         process.exit(1);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message