Skip to content

Commit

Permalink
docs(config): remove "autosave" setting (#485)
Browse files Browse the repository at this point in the history
Removes all documentation regarding the unsupported `autosave`
configuration setting.
  • Loading branch information
raphinesse authored Nov 11, 2019
1 parent 145bbcc commit 0c40bdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions doc/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ Options


Syntax
cordova-cli config set <key> <value> ....... cordova config set autosave true
cordova-cli config get <key> ............... cordova config get autosave
cordova-cli config delete <key> ............ cordova config delete autosave
cordova-cli config set <key> <value> ....... cordova config set save-exact true
cordova-cli config get <key> ............... cordova config get save-exact
cordova-cli config delete <key> ............ 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
2 changes: 1 addition & 1 deletion doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ cordova config delete <key>
### 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
Expand Down

0 comments on commit 0c40bdb

Please # to comment.