aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-05-05 19:38:06 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-05-05 19:49:23 +0300
commitf5b955018af5715bdd72ce6b094bf901be2d8ced (patch)
treea333a6834858f9e4f30e211522bdc0af8a9f3bff /data
parentstart work on 0.2.8 (diff)
downloadpkgdev-f5b955018af5715bdd72ce6b094bf901be2d8ced.tar.gz
pkgdev-f5b955018af5715bdd72ce6b094bf901be2d8ced.tar.bz2
pkgdev-f5b955018af5715bdd72ce6b094bf901be2d8ced.zip
bugs: add support for passing root blocker
Add option to pass `--blocks [bug_no]`. The "root" bugs (those corresponding to the starting nodes, those packages passed as args) will be created and block the passed bug. You can pass multiple bugs to block, separated by comma. Resolves: https://github.com/pkgcore/pkgdev/issues/139 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'data')
-rw-r--r--data/share/bash-completion/completions/pkgdev3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/share/bash-completion/completions/pkgdev b/data/share/bash-completion/completions/pkgdev
index 223a7d9..7cc6df2 100644
--- a/data/share/bash-completion/completions/pkgdev
+++ b/data/share/bash-completion/completions/pkgdev
@@ -234,13 +234,14 @@ _pkgdev() {
subcmd_options="
--api-key
--auto-cc-arches
+ --blocks
--dot
-s --stablereq
-k --keywording
"
case "${prev}" in
- --api-key | --auto-cc-arches)
+ --api-key | --auto-cc-arches | --blocks)
COMPREPLY=()
;;
--dot)