add shrinkwrap
adds shrinkwrap flag for plugins
diff --git a/doc/plugin.txt b/doc/plugin.txt
index 6f28c9c..73d9689 100644
--- a/doc/plugin.txt
+++ b/doc/plugin.txt
@@ -20,6 +20,7 @@
instead of copying files. The extent to which files are linked vs copied
varies by platform. Useful for plugin development.
[--save] .................................. save the information for specified plugin into config.xml
+ [--shrinkwrap] ............................ used together with --save, saves the installed version number to config.xml
diff --git a/src/cli.js b/src/cli.js
index f76de61..8f6f87a 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -293,6 +293,7 @@
, browserify: args.browserify || false
, link: args.link || false
, save: args.save || false
+ , shrinkwrap: args.shrinkwrap || false
};
cordova.raw[cmd](subcommand, targets, download_opts).done();
}