Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/man/pkgctl-build.1.asciidoc
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-04-18 01:15:24 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-20 00:08:13 +0200
commit4289be212b38cbd9a1676303224b6af5c00bd429 (patch)
treec8df17068dc3bbf533ca06ac6f5b880b2b51b99e /doc/man/pkgctl-build.1.asciidoc
parented966351410b39bfcec749df59dbc434a5dade1e (diff)
build: allow release options only in combination with --release
It leads to weird expectations when using --db-update or --message without --release. Make the behavior more user friendly, by aborting the operation and explaining that release options only work in conjunction with the release option. Fixes #131 Signed-off-by: Christian Heusel <christian@heusel.eu>
Diffstat (limited to 'doc/man/pkgctl-build.1.asciidoc')
-rw-r--r--doc/man/pkgctl-build.1.asciidoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/man/pkgctl-build.1.asciidoc b/doc/man/pkgctl-build.1.asciidoc
index 6ae3872..489926e 100644
--- a/doc/man/pkgctl-build.1.asciidoc
+++ b/doc/man/pkgctl-build.1.asciidoc
@@ -60,7 +60,9 @@ Release Options
---------------
*-r, --release*::
- Automatically commit, tag and release after building
+ Automatically commit, tag and release after building +
+ Specifying this option is required when using any of the following options
+ in this section
*-m, --message* 'MSG'::
Use the given <msg> as the commit message