From 46b16081b3d5e78dd7d0b827345111fa7ffca503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Tue, 25 Jul 2023 21:11:03 +0300 Subject: Pass --noclean to rpm --- bash-completion/bm | 2 +- bm | 2 ++ man/bm.8 | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1