Skip to content

Commit

Permalink
Merge pull request #873 from epage/style
Browse files Browse the repository at this point in the history
feat: Style help output
  • Loading branch information
epage committed Sep 11, 2023
2 parents fab4379 + 9e79d55 commit 4b4cc2b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
28 changes: 19 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ regex = "1.9.4"
serde = "1.0.188"
serde_derive = "1.0.188"
serde_json = "1.0.105"
clap = { version = "4.4.0", features = ["derive", "wrap_help"], optional = true }
clap = { version = "4.4.2", features = ["derive", "wrap_help"], optional = true }
clap-cargo = "0.12.0"
subprocess = "0.2.9"
termcolor = "1.2.0"
toml = "0.7.6"
Expand Down
1 change: 1 addition & 0 deletions src/bin/set-version/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use clap::Parser;

#[derive(Debug, Parser)]
#[command(bin_name = "cargo")]
#[command(styles = clap_cargo::style::CLAP_STYLING)]
pub enum Command {
SetVersion(crate::set_version::VersionArgs),
}
Expand Down
1 change: 1 addition & 0 deletions src/bin/upgrade/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use clap::Parser;

#[derive(Debug, Parser)]
#[command(bin_name = "cargo")]
#[command(styles = clap_cargo::style::CLAP_STYLING)]
pub enum Command {
Upgrade(crate::upgrade::UpgradeArgs),
}
Expand Down

0 comments on commit 4b4cc2b

Please sign in to comment.