You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/06/26 17:18:35 UTC

git commit: Tweak usage message for create-verify-archive

Repository: cordova-coho
Updated Branches:
  refs/heads/master 486e69b16 -> 2724f39fa


Tweak usage message for create-verify-archive


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

Branch: refs/heads/master
Commit: 2724f39faa2c0fdc539152ea03c2631d80d89351
Parents: 486e69b
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Jun 26 11:18:14 2014 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Jun 26 11:18:14 2014 -0400

----------------------------------------------------------------------
 src/create-verify-archive.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/2724f39f/src/create-verify-archive.js
----------------------------------------------------------------------
diff --git a/src/create-verify-archive.js b/src/create-verify-archive.js
index 602132d..7b98ac4 100644
--- a/src/create-verify-archive.js
+++ b/src/create-verify-archive.js
@@ -33,7 +33,7 @@ exports.createCommand = function*(argv) {
     var opt = flagutil.registerRepoFlag(optimist)
     opt = opt
         .options('tag', {
-            desc: 'The pre-existing tag to archive (defaults to newest tag on branch)'
+            desc: 'The pre-existing tag or hash to archive (defaults to newest tag on branch)'
          })
         .options('sign', {
             desc: 'Whether to create .asc, .md5, .sha files (defaults to true)',
@@ -46,7 +46,7 @@ exports.createCommand = function*(argv) {
          });
     opt = flagutil.registerHelpFlag(opt);
     var argv = opt
-        .usage('Creates a .zip, .asc, .md5, .sha for a repo at a tag.\n' +
+        .usage('Creates a .zip, .asc, .md5, .sha for a repo at a tag or hash.\n' +
                'Refer to https://wiki.apache.org/cordova/SetUpGpg for how to set up gpg\n' +
                '\n' +
                'Usage: $0 create-archive -r plugman -r cli --dest cordova-dist-dev/CB-1111')
@@ -94,8 +94,7 @@ exports.createCommand = function*(argv) {
 }
 
 exports.verifyCommand = function*(argv) {
-    var opt = flagutil.registerRepoFlag(optimist)
-    opt = flagutil.registerHelpFlag(opt);
+    var opt = flagutil.registerHelpFlag(optimist);
     var argv = opt
         .usage('Ensures the given .zip files match their neighbouring .asc, .md5, .sha files.\n' +
                'Refer to https://wiki.apache.org/cordova/SetUpGpg for how to set up gpg\n' +