diff --git a/doc/config.txt b/doc/config.txt index af116fc49..71c8969b6 100644 --- a/doc/config.txt +++ b/doc/config.txt @@ -13,16 +13,14 @@ Options Syntax - cordova-cli config set ....... cordova config set autosave true - cordova-cli config get ............... cordova config get autosave - cordova-cli config delete ............ cordova config delete autosave + cordova-cli config set ....... cordova config set save-exact true + cordova-cli config get ............... cordova config get save-exact + cordova-cli config delete ............ cordova config delete save-exact cordova-cli config edit .................... cordova config edit cordova-cli config ls ...................... cordova config ls Options - autosave ...................... default setting = true - Allows the user to set save to true or false when adding platforms or plugins. - When false, platforms/plugins are not saved to `config.xml` and `package.json`. + save-exact ...................... default setting = false Examples - cordova config set autosave false + cordova config set save-exact true diff --git a/doc/readme.md b/doc/readme.md index 4cfb9314d..fd439ac70 100644 --- a/doc/readme.md +++ b/doc/readme.md @@ -626,7 +626,7 @@ cordova config delete ### Examples ``` -cordova config set autosave false +cordova config set save-exact true ``` [Hooks guide]: http://cordova.apache.org/docs/en/latest/guide_appdev_hooks_index.md.html