[devscripts] 01/01: added -tail to licensecheck bash completion

Nicholas Bamber periapt at moszumanska.debian.org
Sun Dec 6 21:16:57 UTC 2015


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

periapt pushed a commit to branch master
in repository devscripts.

commit 89e5444a078433045410917e8f16c6d69c2ba5bd
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date:   Sun Dec 6 21:16:51 2015 +0000

    added -tail to licensecheck bash completion
---
 scripts/licensecheck.bash_completion | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/licensecheck.bash_completion b/scripts/licensecheck.bash_completion
index 51bfa94..5a8ee92 100644
--- a/scripts/licensecheck.bash_completion
+++ b/scripts/licensecheck.bash_completion
@@ -6,6 +6,10 @@ _licensecheck()
     _init_completion || return
 
     case $prev in
+        --tail)
+            COMPREPLY=( $( compgen -W '0 1000 2000 3000' -- "$cur" ) )
+            return 0
+            ;;
         --lines)
             COMPREPLY=( $( compgen -W '120 200 300 400' -- "$cur" ) )
             return 0
@@ -13,7 +17,7 @@ _licensecheck()
     esac
 
     if [[ "$cur" == -* ]]; then
-        _options='--verbose --no-verbose --lines --ignore --recursive --check --copyright --machine'
+        _options='--verbose --no-verbose --lines --ignore --recursive --tail --check --copyright --machine'
         if [[ "$prev" == licensecheck ]]; then
             _options+=' --no-conf'
         fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list