From: Hans-Christoph Steiner Date: Tue, 28 Feb 2017 13:46:37 +0000 (+0100) Subject: update bash completion commenting to match standards X-Git-Tag: 0.8~111^2~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f79f08a1c19050e0d15980823c298167e5836eaf;p=fdroidserver.git update bash completion commenting to match standards --- diff --git a/completion/bash-completion b/completion/bash-completion index f2632d67..bdaa2cbb 100644 --- a/completion/bash-completion +++ b/completion/bash-completion @@ -1,8 +1,8 @@ -#!/bin/bash +# fdroid(1) completion -*- shell-script -*- # # bash-completion - part of the FDroid server tools -# Bash completion for the fdroid main tools # +# Copyright (C) 2013-2017 Hans-Christoph Steiner # Copyright (C) 2013, 2014 Daniel Martí # # This program is free software: you can redistribute it and/or modify @@ -18,17 +18,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# 'fdroid' is completed automatically, but aliases to it are not. -# For instance, to alias 'fd' to 'fdroid' and have competion available: -# -# alias fd='fdroid' -# complete -F _fdroid fd -# -# One can use completion on aliased subcommands as follows: -# -# alias fbuild='fdroid build' -# complete -F _fdroid_build fbuild - __fdroid_init() { COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}"