summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2023-07-25 21:11:03 +0300
committerJani Välimaa <wally@mageia.org>2023-07-25 21:11:03 +0300
commit46b16081b3d5e78dd7d0b827345111fa7ffca503 (patch)
tree72d3b066286690ec72afcd2d3f580b7cd3ec9269
parentb9e26c442e68a380b59ef218581fefd0d6389d28 (diff)
downloadbm-46b16081b3d5e78dd7d0b827345111fa7ffca503.tar
bm-46b16081b3d5e78dd7d0b827345111fa7ffca503.tar.gz
bm-46b16081b3d5e78dd7d0b827345111fa7ffca503.tar.bz2
bm-46b16081b3d5e78dd7d0b827345111fa7ffca503.tar.xz
bm-46b16081b3d5e78dd7d0b827345111fa7ffca503.zip
Pass --noclean to rpm
-rw-r--r--bash-completion/bm2
-rw-r--r--bm2
-rw-r--r--man/bm.84
3 files changed, 7 insertions, 1 deletions
diff --git a/bash-completion/bm b/bash-completion/bm
index 4047b4d..65c6efb 100644
--- a/bash-completion/bm
+++ b/bash-completion/bm
@@ -34,7 +34,7 @@ _bm()
--copy-succeeded-srpm= --remove-succeeded-srpm \
--move-log= --move-failed-log= --filter-renew= \
--filter-refresh= --clean --clean-on-success --ignore= \
- --sign --nodeps --debug --short-circuit --with \
+ --sign --nodeps --noclean --debug --short-circuit --with \
--without --define --target --dryrun --log=' -- $cur ) )
else
_filedir '@(spec|src.rpm)'
diff --git a/bm b/bm
index 8a04860..bcd2034 100644
--- a/bm
+++ b/bm
@@ -89,6 +89,8 @@ def parse_options():
help="pass this option to rpm")
parser.add_option("--nodeps", action="callback", nargs=0, callback=passtrough,
help="pass this option to rpm")
+ parser.add_option("--noclean", action="callback", nargs=0, callback=passtrough,
+ help="pass this option to rpm")
parser.add_option("--debug", action="callback", nargs=0, callback=passtrough,
help="pass this option to rpm")
parser.add_option("--short-circuit", action="callback", nargs=0, callback=passtrough,
diff --git a/man/bm.8 b/man/bm.8
index 692327a..6cd77d9 100644
--- a/man/bm.8
+++ b/man/bm.8
@@ -129,6 +129,10 @@ sign packages using GPG
pass this option to rpm
.TP
.B
+\fB--noclean\fP
+pass this option to rpm
+.TP
+.B
\fB--debug\fP
pass this option to rpm
.TP