[game-data-packager] 01/01: refresh bash completion

Alexandre Detiste detiste-guest at moszumanska.debian.org
Wed Apr 5 04:43:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 7baff009b7970883bb6d30a0de6eecdcb7982681
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Apr 5 06:39:39 2017 +0200

    refresh bash completion
---
 data/bash-completion/game-data-packager | 5 ++++-
 debian/changelog                        | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/data/bash-completion/game-data-packager b/data/bash-completion/game-data-packager
index 0fc416f..d484cb0 100644
--- a/data/bash-completion/game-data-packager
+++ b/data/bash-completion/game-data-packager
@@ -16,7 +16,7 @@ _game_data_packager()
     if [ "${cur:0:1}" == "-" ]
     then
       local longopts
-      longopts='--compress --destination --help --install --no-compress --no-download --no-search --package --save-downloads --install-method --gain-root-command'
+      longopts='--compress --destination --help --install --no-compress --no-download --no-search --package --save-downloads --install-method --gain-root-command --target-format --target-distro'
       COMPREPLY=( $( compgen -W "$longopts" -- $cur ) )
     elif [ "$prev" == '--install-method' ]
     then
@@ -24,6 +24,9 @@ _game_data_packager()
     elif [ "$prev" == '--gain-root-command' ]
     then
       COMPREPLY=( $( compgen -W "su sudo pkexec" -- $cur ) )
+    elif [ "$prev" == '--target-format' ]
+    then
+      COMPREPLY=( $( compgen -W "arch deb rpm" -- $cur ) )
     elif [ "$prev" == '--package' ]
     then
       [ -e "$pkgdatadir"/bash_completion ] || return
diff --git a/debian/changelog b/debian/changelog
index 1765e5f..057afc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ game-data-packager (50) UNRELEASED; urgency=medium
                 add GOG url. (Closes: #856253) [R1dO]
     - Ensure that bsdtar/rpmbuild are present
       before attempting to build Arch/RPM packages [adetiste]
+    - Bash completion: add --target-format & --target-distro [adetiste]
   * Internal changes:
     - Fix typo in TODO [nyav] (Closes: #857880)
     - Use locale 'C.UTF-8' instead of 'C' in Makefile,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list