From 927776b9db06ff2de8555b57c862c4a9e4991469 Mon Sep 17 00:00:00 2001 From: orhun Date: Wed, 18 Aug 2021 23:51:11 +0300 Subject: [PATCH] style(args): update the message of `--init` flag --- README.md | 2 +- git-cliff/src/args.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8db18f4398..56525b53f5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/git-cliff/src/args.rs b/git-cliff/src/args.rs index adf94ddf57..902e4c2528 100644 --- a/git-cliff/src/args.rs +++ b/git-cliff/src/args.rs @@ -54,7 +54,7 @@ pub struct Opt { allow_hyphen_values = true )] pub body: Option, - /// 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.