Skip to content

Commit

Permalink
style(args): update the message of --init flag
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 18, 2021
1 parent 210b634 commit 927776b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ git-cliff [FLAGS] [OPTIONS] [RANGE]

```
-v, --verbose Increases the logging verbosity
-i, --init Creates the default configuration file
-i, --init Writes the default configuration file to cliff.toml
-l, --latest Processes the commits starting from the latest tag
-u, --unreleased Processes the commits that do not belong to a tag
-h, --help Prints help information
Expand Down
2 changes: 1 addition & 1 deletion git-cliff/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub struct Opt {
allow_hyphen_values = true
)]
pub body: Option<String>,
/// Creates the default configuration file
/// Writes the default configuration file to cliff.toml
#[structopt(short, long)]
pub init: bool,
/// Processes the commits starting from the latest tag.
Expand Down

0 comments on commit 927776b

Please sign in to comment.