cargo/tests
bors baebd2bfb6 Auto merge of #12428 - epage:update, r=weihanglo
fix(update): Tweak CLI behavior

### What does this PR try to resolve?

When looking at `cargo update` for #12425, I noticed that the two flags related to `--package` were not next to it or each other.  I figured grouping them like that would make things easier to browse.

When looking into that, I noticed that the two flags conflict and figured we'd provide a better error message if we did that through clap.

### How should we test and review this PR?

Looking per commit will help show the behavior changes.

### Additional information

I wanted to scope this to being simple, non-controversial, low effort, incremental improvements with this change so I did not look into the history of `--aggressive` not requiring  `--package` like `--precise` does and figure out if there is any consistency we can be working towards.
2023-08-01 15:20:25 +00:00
..
build-std Add requirements to cargo_test. 2022-07-30 19:36:58 -07:00
testsuite Auto merge of #12428 - epage:update, r=weihanglo 2023-08-01 15:20:25 +00:00