You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by js...@apache.org on 2015/01/05 21:09:17 UTC
cordova-cli git commit: CB-6756 use cordova_lib.binname instead of
cordova
Repository: cordova-cli
Updated Branches:
refs/heads/master baef5587b -> bfcb08fe5
CB-6756 use cordova_lib.binname instead of cordova
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/bfcb08fe
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/bfcb08fe
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/bfcb08fe
Branch: refs/heads/master
Commit: bfcb08fe561c015ed109ea5795b866d06d644747
Parents: baef558
Author: Josh Soref <js...@blackberry.com>
Authored: Mon Jan 5 15:05:29 2015 -0500
Committer: Josh Soref <js...@blackberry.com>
Committed: Mon Jan 5 15:08:07 2015 -0500
----------------------------------------------------------------------
src/cli.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/bfcb08fe/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index bb73bfd..56bdda2 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -265,7 +265,7 @@ function cli(inputArgs) {
}
subcommand = undashed[1];
if (subcommand !== 'plugins' && subcommand !== 'platforms') {
- throw new CordovaError('Specify what you want to '+ cmd + ', try "cordova '+ cmd +' plugins" or " cordova '+cmd+' platforms"');
+ throw new CordovaError('Specify what you want to '+ cmd + ', try "' + cordova_lib.binname + ' '+ cmd +' plugins" or "' + cordova_lib.binname + ' '+cmd+' platforms"');
}
cordova.raw[cmd].call(null, subcommand, { shrinkwrap:args.shrinkwrap,
searchpath: args.searchpath }).done();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org