chiark / gitweb /
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/disorder
[disorder] / scripts / completion.bash
CommitLineData
460b9539 1#
2# This file is part of DisOrder.
5aff007d 3# Copyright (C) 2005-2008 Richard Kettlewell
460b9539 4#
e7eb3a27 5# This program is free software: you can redistribute it and/or modify
460b9539 6# it under the terms of the GNU General Public License as published by
e7eb3a27 7# the Free Software Foundation, either version 3 of the License, or
460b9539 8# (at your option) any later version.
e7eb3a27
RK
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
460b9539 15# You should have received a copy of the GNU General Public License
e7eb3a27 16# along with this program. If not, see <http://www.gnu.org/licenses/>.
460b9539 17#
18
19complete -r disorder 2>/dev/null || true
20complete -r disorderd 2>/dev/null || true
21complete -r disorder-dump 2>/dev/null || true
22complete -r disobedience 2>/dev/null || true
23
24complete -o default \
25 -A file \
b3141726 26 -W "allfiles authorize dirs disable disable-random
460b9539 27 enable enable-random files get get-volume length log move
28 play playing prefs quack queue random-disable
29 random-enable recent reconfigure remove rescan scratch
30 search set set-volume shutdown stats unset version resolve
31 part pause resume scratch-id get-global set-global unset-global
b3141726 32 tags new rtp-address adduser users edituser deluser userinfo
9d617993
RK
33 setup-guest schedule-del schedule-list
34 schedule-set-global schedule-unset-global schedule-play
f9e55c61 35 adopt
0af56a7e 36 playlist-del playlist-get playlist-set playlists
460b9539 37 -h --help -H --help-commands --version -V --config -c
38 --length --debug -d" \
39 disorder
40
41complete -o default \
42 -A file \
43 -W "-h --help --version -V --config -c
44 --debug --dump -d --undump -u --recover -r --recompute-aliases
45 -a" \
46 disorder-dump
47
48complete -o default \
49 -A file \
50 -W "-h --help --version -V --config -c --debug -d --foreground -f
51 --pidfile -P" \
52 disorderd
53
54complete -o default \
55 -A file \
56 -W "-h --help --version -V --config -c --debug -d --tufnel -t
57 --gtk-module --g-fatal-warnings --gtk-debug --gtk-no-debug
58 --class --name --gdk-debug --gdk-no-debug
59 --display --screen --sync --gxid-host --gxid-port" \
60 disobedience
61
62# Local Variables:
63# mode:sh
64# End: