Improve autocompletion

This commit is contained in:
Denis Silakov 2014-04-21 10:39:49 +04:00
parent 4c6d24bfc5
commit 7fee3b2d08
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
Name: abf-console-client Name: abf-console-client
Version: 1.14.3 Version: 1.14.5
Release: 1 Release: 1
Summary: Console client for ABF (https://abf.rosalinux.ru) Summary: Console client for ABF (https://abf.rosalinux.ru)
Group: System/Configuration/Packaging Group: System/Configuration/Packaging

View file

@ -64,7 +64,7 @@ __abf_rpmbuild()
__abf_build() __abf_build()
{ {
__abf_opts "--branch --tag --commit --target-platform --arch --repository --save-to-repository --auto-publish-status --update-type --skip-spec-check --auto-create-container" __abf_opts "--branch --tag --commit --target-platform --arch --repository --save-to-repository --auto-publish-status --auto-publish --update-type --skip-spec-check --auto-create-container"
update_types="security bugfix enhancement recommended newpackage" update_types="security bugfix enhancement recommended newpackage"
auto_publish_status="none default testing" auto_publish_status="none default testing"
if [ ${prev} == -r ] || [ ${prev} == --repository ] ; then if [ ${prev} == -r ] || [ ${prev} == --repository ] ; then
@ -188,7 +188,7 @@ __abf_alias()
__abf() __abf()
{ {
local opts modes local opts modes
modes="help get put show build publish status locate search test fetch mock-urpm rpmbuild clean copy store alias" modes="help get put show build publish status locate search test fetch mock-urpm rpmbuild clean copy create store alias add remove fork"
COMPREPLY=() COMPREPLY=()
mode="${COMP_WORDS[1]}" mode="${COMP_WORDS[1]}"
prev="${COMP_WORDS[COMP_CWORD-1]}" prev="${COMP_WORDS[COMP_CWORD-1]}"