summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/fedpkg.bash')
-rw-r--r--src/fedpkg.bash22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/fedpkg.bash b/src/fedpkg.bash
index c6d757e..117bd23 100644
--- a/src/fedpkg.bash
+++ b/src/fedpkg.bash
@@ -36,8 +36,8 @@ _fedpkg()
local options="--help -v -q"
local options_value="--user --path"
local commands="build chain-build ci clean clog clone co commit compile diff gimmespec giturl help \
- import install lint local mockbuild new new-sources patch prep pull push scratch-build sources srpm \
- switch-branch tag tag-request unused-patches update upload verrel"
+ import install lint local mockbuild new new-sources patch prep pull push retire scratch-build sources \
+ srpm switch-branch tag tag-request unused-patches update upload verrel"
# parse main options and get command
@@ -147,6 +147,10 @@ _fedpkg()
prep)
options_arch="--arch"
;;
+ retire)
+ options="--push"
+ after_more=true
+ ;;
scratch-build)
options="--nowait --background"
options_target="--target"
@@ -156,6 +160,13 @@ _fedpkg()
sources)
options_dir="--outdir"
;;
+ srpm)
+ options="--md5"
+ ;;
+ switch-branch)
+ options="--list"
+ after="branch"
+ ;;
tag)
options="--clog --force --list --delete"
options_string="--message"
@@ -165,13 +176,6 @@ _fedpkg()
tag-request)
options_string="--desc --build"
;;
- srpm)
- options="--md5"
- ;;
- switch-branch)
- options="--list"
- after="branch"
- ;;
upload|new-sources)
after="file"
after_more=true