From 74d010e9ca446f7a736f9215a961f6728f6047be Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 11 Mar 2019 22:56:51 +0300 Subject: Add --edit and --no-edit options to bdep-release --- bdep/release.cli | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bdep/release.cli') diff --git a/bdep/release.cli b/bdep/release.cli index dd919fa..2dadb7f 100644 --- a/bdep/release.cli +++ b/bdep/release.cli @@ -57,6 +57,12 @@ namespace bdep the remote as well as \cb{--open} which performs the opening of the next development cycle as described above. + In all the modes that perform a commit, if the project's repository index + already contains other changes, then the commit message is automatically + opened for editing unless \cb{--no-edit} is specified. The editing of the + commit message in the absence of other changes can be requested with the + \cb{--edit} option. + Normally, \cb{release} operates on all the packages in a project. If no project directory is specified, then the current working directory is assumed and all the packages are released, even if the current directory @@ -173,6 +179,16 @@ namespace bdep \c{\i{major}\b{.}\i{minor}\b{.}\i{patch}\b{-a.0.z}}." } + bool --edit + { + "Open the commit message for editing." + } + + bool --no-edit + { + "Don't open the commit message for editing." + } + std::set --force { "", -- cgit v1.1