-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cargo.toml: update clap version to 4
This changes the organization of the arguments and strictly speaking is an incompatible change. Before, the device argument could be specified before --reset-device or --setup-device, but now it must be after the option name. I think this is an acceptable change, because this isn't really a public interface and this is the natural way to specify this. This way the setup is simpler and easier to understand at a glance. I added #[rustfmt::skip] because the formatter insists on squishing some arg descriptions into a single line which doesn't look good and also indents the modifiers after '--setup-device' and 'dir' options differently for some reason.
- Loading branch information
Showing
3 changed files
with
69 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters