~ubuntu-branches/ubuntu/trusty/bash-completion/trusty

« back to all changes in this revision

Viewing changes to completions/luserdel

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2013-12-27 01:28:28 UTC
  • mfrom: (5.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20131227012828-svk9wdy2ghic0cfh
Tags: 1:2.1-2ubuntu1
* Resync with Debian, remaining diff
  * debian/patches/disable-avahi-browse.diff: Disable avahi-browse since
    it scales poorly in the current form: refresh patch
  * mark Multi-Arch:foreign
  * debian/maintscript, debian/postinst:
    - clean etc conffiles on upgrade since completion files are in /usr
      with the new version
  * patches/101_bash_completion.oga_ogv.patch: Increase support for other
    OGG formats including .oga, .ogx, etc. (LP: #311525)

* Dropped changes:
  - patches/103_colormake.patch: Add support for colormake to the make
    completion rules. (LP: #743208)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# luserdel(1) completion                                   -*- shell-script -*-
 
2
 
 
3
_luserdel()
 
4
{
 
5
    local cur prev words cword
 
6
    _init_completion || return
 
7
 
 
8
    case $prev in
 
9
        -\?|--help|--usage)
 
10
            return
 
11
            ;;
 
12
    esac
 
13
 
 
14
    if [[ "$cur" == -* ]]; then
 
15
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
 
16
        return
 
17
    fi
 
18
 
 
19
    COMPREPLY=( $( compgen -u -- "$cur" ) )
 
20
} &&
 
21
complete -F _luserdel luserdel
 
22
 
 
23
# ex: ts=4 sw=4 et filetype=sh