From 03c03cebb7bf9bf064a8d14fffde115607af81d5 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Tue, 21 Sep 2010 12:14:26 +0200 Subject: bash completion changes cleanup - add missing 'options_dir' and 'options_srpm' into 'all_options_values' - newly added commands were indented using tabs instead of spaces --- src/fedpkg.bash | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/fedpkg.bash b/src/fedpkg.bash index 8bf97ec..c6d757e 100644 --- a/src/fedpkg.bash +++ b/src/fedpkg.bash @@ -87,14 +87,14 @@ _fedpkg() # parse command specific options local options= - local options_target= options_arches= options_branch= options_string= options_file= options_srpm= + local options_target= options_arches= options_branch= options_string= options_file= options_dir= options_srpm= local after= after_more= case $command in help|clog|gimmespec|giturl|lint|mockbuild|new|push|unused-patches|update|verrel) ;; build) - options="--nowait --background --skip-tag --scratch --srpm" + options="--nowait --background --skip-tag --scratch" options_srpm="--srpm" options_target="--target" ;; @@ -133,9 +133,9 @@ _fedpkg() options_branch="--branch" after="srpm" ;; - lint) - options="--info" - ;; + lint) + options="--info" + ;; local) options="--md5" options_arch="--arch" @@ -148,7 +148,7 @@ _fedpkg() options_arch="--arch" ;; scratch-build) - options="--nowait --background --srpm" + options="--nowait --background" options_target="--target" options_arches="--arches" options_srpm="--srpm" @@ -156,15 +156,15 @@ _fedpkg() sources) options_dir="--outdir" ;; - tag) - options="--clog --force --list --delete" - options_string="--message" - options_file="--file" - after_more=true - ;; - tag-request) - options_string="--desc --build" - ;; + tag) + options="--clog --force --list --delete" + options_string="--message" + options_file="--file" + after_more=true + ;; + tag-request) + options_string="--desc --build" + ;; srpm) options="--md5" ;; @@ -179,7 +179,7 @@ _fedpkg() esac local all_options="--help $options" - local all_options_value="$options_target $options_arches $options_branch $options_string $options_file $options_dir" + local all_options_value="$options_target $options_arches $options_branch $options_string $options_file $options_dir $options_srpm" # count non-option parametrs -- cgit