README.md in incr-0.4.0 vs README.md in incr-0.5.0

- old
+ new

@@ -44,19 +44,21 @@ ### Arguments Here are some arguments that can be used with `incr`: - `-d` : Directory where to search for the version files (default: `.`) - `-t` : Tag name pattern, where `%s` will be replaced with the new version (default: `v%s`) +- `--[no-]commit` : Commit changes. (default: enabled) +- `--[no-]tag` : Create a git tag. (default: enabled) Example: ```shell -~> incr npm patch -d ./subprojects/web/ -t MyCustomTagPrefix/%s +~> incr --no-tag npm patch -d ./subprojects/web/ -t MyCustomTagPrefix/%s ``` This will : - Search for `package.json` and `package-lock.json` files inside `./subprojects/web/` and update the patch version -- Create a tag named `MyCustomTagPrefix/2.3.4` - Commit the changes under the message `MyCustomTagPrefix/2.3.4` +- Not create a tag with the new version ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/jcouture/incr. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.