From fadcaf9860ab822b00ec039b226c1ca31bcbe7da Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 8 Sep 2022 16:02:12 -0500 Subject: [PATCH] docs: Help people through Action changes --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f04a3b1f..b05444ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -94,8 +94,8 @@ Steps: 0. [Upgrade to v3](https://github.com/clap-rs/clap/blob/v3-master/CHANGELOG.md#migrating) if you haven't already 1. Add CLI tests (including example below), `-h` and `--help` output at a minimum (recommendation: [trycmd](https://docs.rs/trycmd/) for snapshot testing) -2. Run `cargo check --features clap/deprecated` and resolve all deprecation warnings -3. *If using Builder API*: Explicitly set the `arg.action(ArgAction::...)` on each argument +2. *If using Builder API*: Explicitly set the `arg.action(ArgAction::...)` on each argument (`StoreValue` for options and `IncOccurrences` for flags) +3. Run `cargo check --features clap/deprecated` and resolve all deprecation warnings 4. Upgrade to v4 5. Resolve compiler errors 6. Resolve behavior changes, look over the "subtle changes" under BREAKING CHANGES